Rules
VRBL-INV-FR-CIUS-1p0-B2G-26
Basic Info
| Rule | For B2G, the Seller Party ID when the Seller Party ID Scheme ID is 0226 must be at most 80 characters long and have its first 10 characters be numeric. |
| 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 = '0226')
or
(string-length(normalize-space(.)) >= 10 and string-length(normalize-space(.)) <= 80 and string-length(translate(substring(normalize-space(.), 1, 10), '0123456789', '')) = 0)