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

Basic Info

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

Used Template: Exists

Parameter Value
probe = cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID = '0009']
displayName_probe = %{cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID} used as SIRET

Implementation

(
	not($isB2G)
)
or
(
	boolean(cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID = '0009'])
)