Rules / IBR-115-AE
Document level allowance tax category code cannot be 'Standard rate additional VAT'
Document level allowance tax category code (IBT-095) cannot be 'Standard rate additional VAT'.
Fails
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:Amount currencyID="AED">100.00</cbc:Amount>
<cac:TaxCategory>
<cbc:ID>N</cbc:ID>
<cbc:Percent>5</cbc:Percent>
<cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:TaxCategory>
</cac:AllowanceCharge>
Fix
Document-level allowances can't use category N in cac:TaxCategory/cbc:ID. Give the allowance the category of the supply it reduces, such as S.
Schematron
- Context
cac:AllowanceCharge[cbc:ChargeIndicator = false()][not(ancestor::cac:Price)]- Test
not(cac:TaxCategory/cbc:ID = "N")
Official text: Document level allowance tax category code (IBT-095) cannot be 'Standard rate additional VAT'.