All rules · tdd-ae · error
ibr-tdd-34
The reported document needs one tax total per currency used: one in the document currency, and one more in the accounting currency when that is given.
Draft — not yet reviewed
Why this rule exists
The authority records the tax in each currency the invoice states it in, so the count of tax totals must match the count of currencies.
Why it usually happens
- No cac:TaxTotal at all
- A foreign-currency invoice with only one tax total
- An AED invoice with two tax totals, both in AED
How to fix it
Emit one cac:TaxTotal in the document currency, plus one in TaxCurrencyCode when it is present.
The official rule
An Invoice total TAX amount (ibt-110, ibt-111) MUST be provided for each currency used
Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.
Schematron test
$ttCount = $currencyCount
Applied to nodes matching /pxs:TaxData/pxs:ReportedTransaction/pxs:ReportedDocument
Rule-pack versions
| Rule-pack | Layer | Severity | Applies to |
|---|---|---|---|
| tdd-ae-1.0.4 | tdd-ae | error | tax-reporting/taxdata |
| tdd-ae-1.0.3 | tdd-ae | error | tax-reporting/taxdata |
Related rules
Check your own invoice
Paste your XML and see every rule that fires, not just this one. Free, no sign-up, and we never store the document.
Open the validator