All rules · tdd-ae · error

ibr-tdd-31-1

The accounting currency code (ibt-006) must be an ISO 4217 code.

Draft — not yet reviewed

Why this rule exists

The same reason as for the document currency: an unrecognised currency cannot be aggregated.

Why it usually happens

How to fix it

Use the three-letter ISO 4217 code.

Right
<cbc:TaxCurrencyCode>AED</cbc:TaxCurrencyCode>

The official rule

The Accounting currency code (ibt-006) () MUST be coded according to the code list

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 (not(contains($tcc, ' ')) and contains($cl_currency, concat(' ', $tcc, ' ')))

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-30-1 · ibr-tdd-31

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-31-1 — The accounting currency code (ibt-006) must be an ISO 4217 … · PINT Probe