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