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

Basic Info

Rule For B2G, the Seller Party ID when the Seller Party ID Scheme ID is 0229 must be between 9 and 10 characters.
Context /ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID
Pattern vrbl-invoice-fr-cpro-b2g
Severity warning

Implementation

not($isB2G)
or
not(@schemeID = '0229')
or
(string-length(normalize-space(.)) >= 9 and string-length(normalize-space(.)) <= 10)