PintLint

Rules / IBR-190-AE

When the Invoiced item VAT category code, Document level allowance VAT category code, Document level charge VAT category code is Standard rated then Invoiced item VAT rate, Document level allowance VAT rate, Document level charge VAT rate must be 5.00

When the Invoiced item VAT category code (ibt-151), Document level allowance VAT category code (ibt-095), Document level charge VAT category code (ibt-102) is Standard rated then Invoiced item VAT rate (ibt-152), Document level allowance VAT rate (ibt-096), Document level charge VAT rate (ibt-103) must be 5.00.

Fails

<cac:TaxSubtotal>
  <cbc:TaxableAmount currencyID="AED">1000.00</cbc:TaxableAmount>
  <cbc:TaxAmount currencyID="AED">55.00</cbc:TaxAmount>
  <cac:TaxCategory>
    <cbc:ID>S</cbc:ID>
    <cbc:Percent>5.5</cbc:Percent>
  </cac:TaxCategory>
</cac:TaxSubtotal>

Fix

Set cbc:Percent to 5 in every category S cac:TaxCategory: document-level allowances and charges and the VAT breakdown (the rule compares it with 5.00). If a different rate applies, the category isn't S.

Schematron
Context
/ubl:Invoice | /cn:CreditNote
Test
not(//cac:TaxCategory/cbc:ID = "S") or (every $p in //cac:TaxCategory[cbc:ID = "S"]/cbc:Percent satisfies ($p castable as xs:decimal and xs:decimal($p) = 5.00))

Official text: When the Invoiced item VAT category code (ibt-151), Document level allowance VAT category code (ibt-095), Document level charge VAT category code (ibt-102) is Standard rated then Invoiced item VAT rate (ibt-152), Document level allowance VAT rate (ibt-096), Document level charge VAT rate (ibt-103) must be 5.00.

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

Check your invoice for this rule