VRBL-INV-SYSTEM-50
Basic Info
| Rule | If there is a value for Payment Means Payment Means Code, the allowed maximum number of characters is 25. |
| Context |
/ubl:Invoice
|
| Pattern | vrbl-invoice-system |
| Severity | fatal |
Used Template: SystemLengthLimit
| Parameter | Value | |
|---|---|---|
| probe | = |
cac:PaymentMeans/cbc:PaymentMeansCode
|
| length | = |
25
|
Implementation
not(boolean(cac:PaymentMeans/cbc:PaymentMeansCode))
or
string-length(normalize-space((cac:PaymentMeans/cbc:PaymentMeansCode)[1])) <= 25