VRBL-INV-AE-1p0-11
Basic Info
| Rule | In every Document Level Allowances where the Document Level Allowance Tax Category Code is "AE", the Document Level Allowance Tax Rate must be zero. |
| Context |
/ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']
|
| Pattern | vrbl-invoice-AE-1p0 |
| Severity | fatal |
Implementation
not(boolean(cac:TaxCategory[cbc:ID='AE'][cac:TaxScheme/cbc:ID='VAT']))
or
number(cac:TaxCategory[cbc:ID='AE'][cac:TaxScheme/cbc:ID='VAT']/cbc:Percent) = 0