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