All rules · tdd-ae · error

ibr-tdd-38

The monetary total must state its total without VAT in the document currency.

Draft — not yet reviewed

Why this rule exists

The total and the tax are compared, which only works when both are in the same currency.

Why it usually happens

How to fix it

Set TaxExclusiveAmount's currencyID to the document currency.

The official rule

Exactly 1 /pxs:MonetaryTotal element with an amount using Document Currency MUST be present

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

Schematron test

$mtCount != 1 or count(pxs:MonetaryTotal[cbc:TaxExclusiveAmount/@currencyID = $dcc]) = 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-37 · ibr-tdd-53

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-38 — The monetary total must state its total without VAT in the … · PINT Probe