ibr-119-ae

Each VAT breakdown (IBG-23) shall have a VAT category rate (IBT-119), except if the Invoice is not subject to VAT or Exempt from Tax.

error: the document is invalid

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Context
cac:TaxSubtotal
Test
(cac:TaxCategory/cbc:ID = ("O","E") and not(cac:TaxCategory/cbc:Percent)) or (not(cac:TaxCategory/cbc:ID = ("O","E")) and cac:TaxCategory/cbc:Percent)

Checked with PINT UAE Invoice, PINT UAE Credit Note