PintLint

Rules / ALIGNED-IBRP-E-09

The VAT category tax amount In a VAT breakdown where the VAT category code equals "Exempt from VAT" must equal 0 (zero)

The VAT category tax amount (ibt-117) In a VAT breakdown (ibg-23) where the VAT category code (ibt-118) equals "Exempt from VAT" must equal 0 (zero).

Fails

<cac:TaxSubtotal>
  <cbc:TaxableAmount currencyID="AED">1000.00</cbc:TaxableAmount>
  <cbc:TaxAmount currencyID="AED">50.00</cbc:TaxAmount>
  <cac:TaxCategory>
    <cbc:ID>E</cbc:ID>
  </cac:TaxCategory>
</cac:TaxSubtotal>

Fix

Set cbc:TaxAmount in the exempt (E) VAT breakdown to 0.00. If VAT is really due on these lines, they aren't exempt: fix the category.

Schematron
Context
/*/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[normalize-space(cbc:ID) = 'E'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']
Test
xs:decimal(../cbc:TaxAmount) = 0

Official text: The VAT category tax amount (ibt-117) In a VAT breakdown (ibg-23) where the VAT category code (ibt-118) equals "Exempt from VAT" MUST equal 0 (zero).

Official · PINT AE (UAE) rules. Severity: error. Runs on UBL XML.

Check your invoice for this rule