VRBL-INV-FR-CIUS-1p0-238

Basic Info

Rule When the Buyer Legal Registration ID is used as a SIREN, the Buyer Legal Registration ID must contain exactly 9 characters.
Context /ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID
Pattern vrbl-invoice-fr-cius-1p0
Severity warning

Used Template: StringLength

Parameter Value
probe = .
length = 9

Implementation

(
	@schemeID!=''
)
or
(
	string-length(normalize-space(.)) = 9
)