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