VRBL-INV-HR-CIUS-1p0-43

Basic Info

Rule When used as OIB, the allowed maximum number of characters for the Seller Additional Account ID is 11.
Context /ubl:Invoice/cac:AccountingSupplierParty/cbc:AdditionalAccountID
Pattern vrbl-invoice-hr-cius-1p0
Severity fatal

Used Template: MaximumStringLength

Parameter Value
probe = .
length = 11

Implementation

(
	not(@schemeID = concat($VRBL-HR-Prefix, 'OIB'))
)
or
(
	string-length(normalize-space(.)) <= 11
)