VRBL-INV-IT-1p2-50

Basic Info

Rule When used for Agreement, the allowed maximum number of characters for the Additional Document Reference ID is 20.
Context /ubl:Invoice/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, 'AVV'))
)
or
(
	string-length(normalize-space(.)) <= 20
)