Reference
Markdown exportBR-CL-03 Currency attribute must use ISO 4217 alpha-3
The currencyID attribute on amount elements must be a three-letter code from ISO 4217 alpha-3.
Problem Description
The currencyID attribute on amount elements must be a three-letter code from ISO 4217 alpha-3.
ERROR
XRechnung 3.0
Context and Significance
This EN16931 core code-list rule guarantees that every monetary amount carries an unambiguous currency.
Solution
Use a valid ISO 4217 alpha-3 code such as EUR, USD or CHF in every currencyID attribute.
Quick actions
Valid Examples
Use these points as the practical checks for this section.
- currencyID="EUR" on a line amount
- currencyID="USD" on a tax amount
Invalid Examples
Use these points as the practical checks for this section.
- currencyID="EURO" — four letters, not ISO 4217
- currencyID="€" — symbol instead of code
Code Examples
Valid XML
<cbc:LineExtensionAmount currencyID="EUR">100.00</cbc:LineExtensionAmount>Invalid XML
<cbc:LineExtensionAmount currencyID="EURO">100.00</cbc:LineExtensionAmount>