What it means
This rule checks a non-empty invoice currency code (BT-5, ram:InvoiceCurrencyCode) against the currency list supplied with the Minimum profile. An empty code passes this particular test, and the test does not require the element to exist. It applies to the Minimum profiles of Factur-X 1.09 and ZUGFeRD 2.5.
Why it matters
The currency code identifies the currency used for your invoice amounts. Using a code from the profile's list keeps that value consistent in the structured data.
How to fix it
Check the invoice currency and use its three-letter ISO 4217 code as permitted by the profile, such as EUR for euros. Do not use a symbol or currency name instead. In the XML, correct ram:InvoiceCurrencyCode inside ram:ApplicableHeaderTradeSettlement. Export again and recheck.
Once the file is corrected, check it again for free: Validate a ZUGFeRD invoice
Or fix the invoice in a form and download the corrected file, for 1 credit: Fix a rejected e-invoice Beta
The rule as published
Value of 'ram:InvoiceCurrencyCode' is not allowed. Where this rule applies
| Rule set | Version |
|---|---|
| Factur-X 1.09 MINIMUM | 1.0.9-2 |
| ZUGFeRD 2.5 MINIMUM | 2.5.2 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000040 still fails, and which other rules do.
Related rules
- FX-SCH-A-000041 The total amount excluding VAT is required
- FX-SCH-A-000042 The VAT total in the invoice currency may appear only once
- FX-SCH-A-000043 The total amount including VAT is required
- FX-SCH-A-000044 The amount due is required
- FX-SCH-A-000045 The currency on the total VAT amount must be a valid code
- FX-SCH-A-000160 Each invoice note needs one text element