Rules
Basic Info
|
Rule
|
When the Seller Party ID Scheme ID is 0231, the Seller Tax Representative Tax ID must exist within the Invoice. |
|
Context
|
/ubl:Invoice
|
|
Pattern
|
vrbl-invoice-fr-cius-1p0 |
|
Severity
|
warning |
Used Template: Exists
| Parameter |
|
Value |
| probe |
= |
cac:TaxRepresentativeParty/cac:PartyTaxScheme/cbc:CompanyID
|
Implementation
(
not(boolean(cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification[cbc:ID/@schemeID = '0231']))
)
or
(
boolean(cac:TaxRepresentativeParty/cac:PartyTaxScheme/cbc:CompanyID)
)