VRBL-INV-FR-CIUS-1p0-189

Basic Info

Rule When the Seller Party Identification Scheme ID is 0231, the Tax Representative Tax Company 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)
)