VRBL-INV-FR-CIUS-1p0-B2G-16

Basic Info

Rule For B2G S3, the Buyer Party ID used as SIRET must be provided.
Context /ubl:Invoice
Pattern vrbl-invoice-fr-cpro-b2g
Severity warning

Implementation

not($isB2G)
or
not(substring-after(normalize-space(cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceExtension/vrbl:InvoiceSubtypeCode), 'VRBL:FR:') = 'S3')
or
boolean(cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID = '0009'])