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
- The TaxExclusiveAmount currencyID differs from DocumentCurrencyCode
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-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