VRBL-INV-MY-1p0-37
Basic Info
| Rule | When used for providing a National Registration Identity Card Number, the allowed maximum number of characters for the Seller ID is 12. |
| 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 | = |
12
|
Implementation
(
not(@schemeID = concat($VRBL-MY-Prefix, 'NRIC'))
)
or
(
string-length(normalize-space(.)) <= 12
)