Rules
VRBL-INV-PL-B2B-3-139
Basic Info
| Rule | The Remittance Information MUST be exactly 13 characters long, consisting of 3 digits followed by 10 alphanumeric characters. |
| Context |
/ubl:Invoice/cac:PaymentMeans/cbc:PaymentID
|
| Pattern | vrbl-invoice-pl-b2b-3p0 |
| Severity | fatal |
Implementation
string-length(.) = 13
and
translate(substring(., 1, 3), $Numerics, '') = ''
and
translate(substring(., 4, 10), concat($AlphabetLowerCase, $AlphaNumerics), '') = ''