PintLint

Rules / IBR-104-AE

An Invoice line, where Line VAT Information is present then Invoice line amount in AED and VAT Line amount in AED must be provided

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.

Fails when this is false

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))

The schematron test, verbatim. Context: cac:InvoiceLine | cac:CreditNoteLine

Fix

Change the data so the condition below holds. It reads cac:ClassifiedTaxCategory, cac:Item, cac:ItemPriceExtension, cac:TaxTotal. Paste the invoice into the validator to see the exact element that fails.

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

Check your invoice for this rule