VRBL-INV-FR-CIUS-1p0-188

Basic Info

Rule When the Seller Party Identification Scheme ID is 0231, a Note with a Note Code of TXD and value "MEMBRE_ASSUJETI_UNIQUE" must be provided.
Context /ubl:Invoice
Pattern vrbl-invoice-fr-cius-1p0
Severity warning

Implementation

not(boolean(cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification[cbc:ID/@schemeID = '0231']))
or
boolean(cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceExtension/vrbl:Note[@code='TXD' and . = 'MEMBRE_ASSUJETI_UNIQUE'])