All rules · tdd-ae · error

ibr-tdd-36

When an accounting currency is given, there must be exactly one total tax amount (ibt-111) in it.

Draft — not yet reviewed

Why this rule exists

The accounting-currency tax total is what is reported in the currency the authority accounts in.

Why it usually happens

How to fix it

Add a second cac:TaxTotal whose TaxAmount currencyID equals TaxCurrencyCode.

The official rule

Exactly 1 Invoice total TAX amount (ibt-111) MUST be provided for Accounting currency code (ibt-006) ()

Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.

Schematron test

not($has_tcc) or count(cac:TaxTotal[cbc:TaxAmount/@currencyID = $tcc]) = 1

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-34 · ibr-tdd-35

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
ibr-tdd-36 — When an accounting currency is given, there must be exactly… · PINT Probe