PINT AE validation checks that an invoice's arithmetic is internally consistent: line amounts equal quantity times price less line allowances, the sum of lines equals the line extension total, VAT per category equals the taxable amount times the rate within a small tolerance, and the payable amount follows from the totals. Systems that round at different stages, store prices at more decimals than they display, or compute VAT per line and per invoice differently will produce documents that fail. The fix is a single, documented calculation order applied in the e-invoice layer.
Key facts at a glance
- Amounts are checked to two decimals (fils).
- VAT per category is checked against taxable amount × rate with a small tolerance for rounding.
- Sum of line extension amounts must equal the LineExtensionAmount total exactly.
- Foreign-currency invoices must carry the VAT amount in AED.
- Unit prices may have more decimals than amounts; amounts must be rounded consistently.
Where drift comes from
| Cause | Example | Effect |
|---|---|---|
| Per-line VAT rounded, then summed | 100 lines × 0.005 rounding each | Category VAT off by up to 0.50 |
| Unit price stored at 4 decimals, displayed at 2 | Qty 3 × 12.3456 = 37.0368 vs 37.04 | Line amount mismatch |
| Discount applied to price in one place and to amount in another | 5% on 12.34 vs 5% on 37.02 | Line allowance mismatch |
| Header discount netted into lines invisibly | Lines show gross; totals show net | Totals do not follow from lines |
| Banker's rounding vs half-up | 0.125 → 0.12 vs 0.13 | Systematic 0.01 differences |
A calculation order that validates
Foreign currency
When the document currency is not AED, the VAT amount must also be stated in AED using the exchange rate applicable under UAE VAT rules, and the rate should be stored with the document. Compute the AED VAT from the rounded foreign-currency VAT total, not by converting each line, to avoid a second layer of drift.
Dealing with legacy data
You usually cannot change how a twenty-year-old ERP rounds. You can, however, recompute the e-invoice amounts in the integration layer from the ERP's raw quantities and prices using the order above, and reconcile the result to the ERP's posted totals. Where a difference remains, the specification permits a document-level rounding amount within the payable total, which keeps the document valid while matching what the customer is asked to pay.
Where Zaini Developers fits in
Our integration layer recomputes every document with a single validated arithmetic engine and reports any difference from your ERP's figures before submission, so you fix root causes instead of chasing rejections.
Book a free consultation →Frequently asked questions
Does the UAE allow a rounding amount on the invoice?
The specification includes a payable rounding amount element; use it only for genuine presentation rounding, not to hide calculation errors.
Should VAT be calculated per line or per invoice?
Validation checks the category totals; computing once per category and distributing for display is the most robust approach.
Can unit prices have four decimals?
Yes. Prices may be more precise than amounts; the rounded amounts must then be consistent.
What tolerance applies to VAT amounts?
A small tolerance exists for rounding; relying on it line by line is fragile. Aim for exact agreement at category level.
