VRBL-INV-SYSTEM-40
Basic Info
| Rule | If there is a value for Total Tax Amount 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 | = |
cac:TaxTotal/cbc:TaxAmount/@currencyID
|
| length | = |
25
|
Implementation
not(boolean(cac:TaxTotal/cbc:TaxAmount/@currencyID))
or
string-length(normalize-space((cac:TaxTotal/cbc:TaxAmount/@currencyID)[1])) <= 25