VRBL-INV-MY-1p0-38

Basic Info

Rule When used for providing a Sales And Service Tax Registration Number, the allowed maximum number of characters for the Seller ID is 17.
Context /ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID
Pattern vrbl-invoice-my-1p0
Severity fatal

Used Template: MaximumStringLength

Parameter Value
probe = .
length = 17

Implementation

(
	not(@schemeID = concat($VRBL-MY-Prefix, 'SST'))
)
or
(
	string-length(normalize-space(.)) <= 17
)