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

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-packLayerSeverityApplies to
tdd-ae-1.0.4tdd-aeerrortax-reporting/taxdata
tdd-ae-1.0.3tdd-aeerrortax-reporting/taxdata

Related rules

ibr-tdd-35 · ibr-tdd-36

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