VRBL-INV-MY-1p0-63

Basic Info

Rule When used for providing a National Registration Identity Card Number, the allowed maximum number of characters for the Buyer Party Identification ID is 12.
Context /ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID
Pattern vrbl-invoice-my-1p0
Severity fatal

Used Template: MaximumStringLength

Parameter Value
probe = .
length = 12

Implementation

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