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

Basic Info

Rule For B2G and when used as 0227, the allowed maximum number of characters for the Seller Party ID is 18.
Context /ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID
Pattern vrbl-invoice-fr-cpro-b2g
Severity warning

Used Template: MaximumStringLength

Parameter Value
probe = .
length = 18

Implementation

(
	not($isB2G) or not(@schemeID = '0227')
)
or
(
	string-length(normalize-space(.)) <= 18
)