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