PintLint

Rules / ALIGNED-IBRP-O-11-AE

In a VAT breakdown where VAT category code is 'Not Subject to VAT', VAT category tax Rate shall not be provided

In a VAT breakdown (IBG-23) where VAT category code (IBT-118) is 'Not Subject to VAT', VAT category tax Rate (IBT-119) shall not be provided.

Fails

<cac:TaxSubtotal>
  <cbc:TaxableAmount currencyID="AED">1000.00</cbc:TaxableAmount>
  <cbc:TaxAmount currencyID="AED">0.00</cbc:TaxAmount>
  <cac:TaxCategory>
    <cbc:ID>O</cbc:ID>
    <cbc:Percent>0</cbc:Percent>
  </cac:TaxCategory>
</cac:TaxSubtotal>

Fix

Delete cbc:Percent from the cac:TaxCategory of the category O VAT breakdown. Not-subject-to-VAT breakdowns carry no rate.

Schematron
Context
/*/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[normalize-space(cbc:ID) = 'O'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']
Test
not(cbc:Percent)

Official text: In a VAT breakdown (IBG-23) where VAT category code (IBT-118) is 'Not Subject to VAT', VAT category tax Rate (IBT-119) shall not be provided.

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

Check your invoice for this rule