VRBL-REA-TR-1p2-27

Basic Info

Rule For %{@schemeID} equal to VRBL:TR:VKN, the Receipt Advice Buyer Party Identification ID must contain exactly 10 characters.
Context /ubl:ReceiptAdvice/cac:DeliveryCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID
Pattern vrbl-receiptadvice-tr-1p2
Severity fatal

Used Template: StringLength

Parameter Value
length = 10
probe = .

Implementation

(
	not(@schemeID=concat($VRBL-TR-Prefix, 'VKN'))
)
or
(
	string-length(normalize-space(.)) = 10
)