PintLint

Rules / ALIGNED-IBRP-037

Each Document level charge must have a Document level charge VAT category code

Each Document level charge (ibg-21) must have a Document level charge VAT category code (ibt-102).

Fails when this is false

not(parent::ubl:Invoice|parent::cn:CreditNote) or exists(cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']/cbc:ID)

The schematron test, verbatim. Context: cac:AllowanceCharge[cbc:ChargeIndicator = true()]

Fix

Change the data so the condition below holds. It reads cac:TaxCategory, cbc:ID. 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