VRBL-INV-IT-1p2-41

Basic Info

Rule When used for the main invoice, the allowed maximum number of characters for the Additional Billing Document Reference ID is 20.
Context /ubl:Invoice/cac:BillingReference/cac:AdditionalDocumentReference/cbc:ID
Pattern vrbl-invoice-it-1p2
Severity fatal

Used Template: MaximumStringLength

Parameter Value
probe = .
length = 20

Implementation

(
	not(@schemeID = concat($VRBL-IT-Prefix, 'ZZZ'))
)
or
(
	string-length(normalize-space(.)) <= 20
)