VRBL-INV-AU-1p0-15
Basic Info
| Rule | In every Charge Group where the Charge Tax ID is "Z", the Charge Tax Percent must be zero. |
| Context |
/ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']
|
| Pattern | vrbl-invoice-au-1p0 |
| Severity | fatal |
Implementation
not(boolean(cac:TaxCategory[cbc:ID='Z'][cac:TaxScheme/cbc:ID='GST']))
or
number(cac:TaxCategory[cbc:ID='Z'][cac:TaxScheme/cbc:ID='GST']/cbc:Percent) = 0