ibr-104-ae
An Invoice line (IBG-25), where Line VAT Information (IBG-30) is present then Invoice line amount in AED (BTAE-10) and VAT Line amount in AED (BTAE-08) must be provided.
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:InvoiceLine | cac:CreditNoteLine
Test
not(exists(cac:Item/cac:ClassifiedTaxCategory[normalize-space(cbc:ID) != "E"])) or (exists(cac:ItemPriceExtension/cac:TaxTotal/cbc:TaxAmount) and exists(cac:ItemPriceExtension/cbc:Amount))
Checked with PINT UAE Invoice, PINT UAE Credit Note