All rules · tdd-ae · error

ibr-tdd-37

The reported document must have exactly one pxs:MonetaryTotal.

Draft — not yet reviewed

Why this rule exists

The monetary total carries the amount the tax was charged on. A report without it has tax with nothing to relate it to.

Why it usually happens

How to fix it

Emit one pxs:MonetaryTotal (TDD namespace, not cac) with the total without VAT.

Wrong
<cac:LegalMonetaryTotal>…</cac:LegalMonetaryTotal>
Right
<pxs:MonetaryTotal>
  <cbc:TaxExclusiveAmount currencyID="AED">10643.29</cbc:TaxExclusiveAmount>
</pxs:MonetaryTotal>

The official rule

Exactly 1 /pxs:MonetaryTotal element must be present but found elements

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

Schematron test

$mtCount = 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-38 · ibr-tdd-52

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