All rules · tdd-ae · error
ibr-tdd-53
The total without VAT (ibt-109) must be in the document currency.
Draft — not yet reviewed
Why this rule exists
It is compared with tax stated in the document currency; mixing currencies makes the comparison meaningless.
Why it usually happens
- A hard-coded currencyID in the template
- The accounting currency used by mistake
How to fix it
Take TaxExclusiveAmount's currencyID from DocumentCurrencyCode.
Wrong
<cbc:TaxExclusiveAmount currencyID="USD">10643.29</cbc:TaxExclusiveAmount>
Right
<cbc:TaxExclusiveAmount currencyID="AED">10643.29</cbc:TaxExclusiveAmount>
The official rule
The Invoice total amount without VAT (ibt-109) currency must match the 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
cbc:TaxExclusiveAmount/@currencyID = $dc
Applied to nodes matching /pxs:TaxData/pxs:ReportedTransaction/pxs:ReportedDocument/pxs:MonetaryTotal
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