All rules · tdd-ae · error
ibr-tdd-35
There must be exactly one total tax amount (ibt-110) in the document currency.
Draft — not yet reviewed
Why this rule exists
The document-currency tax total is the figure the report is about. None, or two, cannot be recorded.
Why it usually happens
- The TaxAmount currencyID does not match DocumentCurrencyCode
- The document currency code itself is wrong, so no tax total matches it
How to fix it
Set the TaxAmount's currencyID to the document currency, and emit that tax total once.
Right
<cac:TaxTotal> <cbc:TaxAmount currencyID="AED">532.16</cbc:TaxAmount> </cac:TaxTotal>
The official rule
Exactly 1 Invoice total TAX amount (ibt-110) MUST be provided for Document currency code (ibt-005) ()
Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.
Schematron test
count(cac:TaxTotal[cbc:TaxAmount/@currencyID = $dcc]) = 1
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