VRBL-INV-SYSTEM-33
Basic Info
| Rule | If there is a value for Buyer Customer Party 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:BuyerCustomerParty/cac:Party/cac:PostalAddress/cbc:PostalZone
|
| length | = |
100
|
Implementation
not(boolean(cac:BuyerCustomerParty/cac:Party/cac:PostalAddress/cbc:PostalZone))
or
string-length(normalize-space((cac:BuyerCustomerParty/cac:Party/cac:PostalAddress/cbc:PostalZone)[1])) <= 100