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