All rules · tdd-ae · error
ibr-tdd-54
The monetary total must not contain a total with VAT (cbc:TaxInclusiveAmount). In AED it is reported through custom content (BTAE-20) instead.
Draft — not yet reviewed
Why this rule exists
The TDD reports the tax base and the tax separately. A tax-inclusive total would be a third figure to keep consistent.
Why it usually happens
- Copying the invoice's LegalMonetaryTotal into pxs:MonetaryTotal
How to fix it
Remove TaxInclusiveAmount from pxs:MonetaryTotal.
<cbc:TaxInclusiveAmount currencyID="AED">11175.45</cbc:TaxInclusiveAmount>
The official rule
Only XML elements defined in this specification are allowed to be used
Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.
Schematron test
not(exists(cbc:TaxInclusiveAmount))
Applied to nodes matching /pxs:TaxData/pxs:ReportedTransaction/pxs:ReportedDocument/pxs:MonetaryTotal
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