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