PintLint

Rules / ALIGNED-IBRP-E-05

In an Invoice line where the Invoiced item VAT category code is "Exempt from VAT", the Invoiced item VAT rate shall not be there

In an Invoice line (ibg-25) where the Invoiced item VAT category code (ibt-151) is "Exempt from VAT", the Invoiced item VAT rate (ibt-152) shall not be there.

Fails

<cac:ClassifiedTaxCategory>
  <cbc:ID>E</cbc:ID>
  <cbc:Percent>0</cbc:Percent>
  <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:ClassifiedTaxCategory>

Fix

Delete cbc:Percent from the exempt line's cac:ClassifiedTaxCategory. Exempt lines carry no rate at all, not even 0.

Schematron
Context
cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'E'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT'] | cac:CreditNoteLine/cac:Item/cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'E'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']
Test
not(cbc:Percent)

Official text: In an Invoice line (ibg-25) where the Invoiced item VAT category code (ibt-151) is "Exempt from VAT", the Invoiced item VAT rate (ibt-152) shall not be there.

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

Check your invoice for this rule