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