VRBL-INV-SYSTEM-11
Basic Info
|
Rule
|
If there is a value for Seller Postal Zone, the allowed maximum number of characters is 100. |
|
Context
|
/ubl:Invoice
|
|
Pattern
|
vrbl-invoice-system |
|
Severity
|
fatal |
Used Template: SystemLengthLimit
| Parameter |
|
Value |
| probe |
= |
cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:PostalZone
|
| length |
= |
100
|
Implementation
not(boolean(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:PostalZone))
or
string-length(normalize-space((cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:PostalZone)[1])) <= 100