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
- A local abbreviation such as DHS
- Lower case
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-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