How to fix aligned-ibrp-004 in UAE e-invoicing
What is aligned-ibrp-004?
aligned-ibrp-004 is a fatal validation rule in the UAE's Peppol PINT-AE e-invoicing specification — one of the UAE-specific rules. It is checked against allowances and charges and belongs to the Invoice lines & items rule group. An e-invoice that fails aligned-ibrp-004 is rejected by the Accredited Service Provider gateway before it reaches the FTA.
What the official rule says
Where it applies
This rule is checked against allowances and charges of your UBL 2.1 invoice:
cac:Price/cac:AllowanceCharge
Business terms referenced
| Term ID | Field | Other rules |
|---|---|---|
| IBT-146 | Item net price | view → |
| IBT-148 | Gross price | view → |
| IBT-147 | Price discount | view → |
Field names are derived automatically from the official rule corpus.
Technical test condition (Schematron)
not(cbc:BaseAmount) or (../cbc:PriceAmount castable as xs:decimal and cbc:BaseAmount castable as xs:decimal and cbc:Amount castable as xs:decimal and xs:decimal(../cbc:PriceAmount) = xs:decimal(cbc:BaseAmount) - xs:decimal(cbc:Amount))
Test your invoice against aligned-ibrp-004 now
Upload your UBL XML — we check all 302 PINT-AE rules including this one, in one second. Your file is validated in memory and never stored.
Related rules
Rule text sourced from the official OpenPeppol PINT-AE validation artifacts (version 2026.5), refreshed weekly. Explanations are qmetrics' own guidance, not official FTA/MoF text.