Skip to content

Error

FX-SCH-A-000040: Use an allowed invoice currency code in Minimum

In short

Error: fails the selected checks.

FX-SCH-A-000040 means your invoice currency (BT-5) does not match a code allowed by the Minimum profile. Set ram:InvoiceCurrencyCode to the appropriate code from that profile's currency list, then export and recheck the file.

On this page

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
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether FX-SCH-A-000040 still fails, and which other rules do.

Updated 6 November 2026