Skip to content

Error

FX-SCH-A-000457: The delivery country must be a valid country code (Basic WL)

In short

Error: fails the selected checks.

FX-SCH-A-000457 means the country in the delivery address (BT-80) is not a code the Basic WL profile accepts. Use the two-letter ISO country code, such as DE or NL, not the country name.

On this page

What it means

The country of the delivery address (BT-80) must be a code from the profile's list of countries, which is the two-letter ISO 3166-1 list (DE, FR, NL, BE and so on). Full country names, three-letter codes and invented codes fail. The check only applies when a country is given. A missing country is reported by FX-SCH-A-000455.

Why it matters

Software reads country codes, not names. A value outside the list cannot be matched to a country, so the file fails the profile and the recipient's system can reject it.

How to fix it

Change the country in the delivery address to its two-letter code, for example DE for Germany, FR for France or NL for the Netherlands. Most invoicing software offers a country list, so pick the country there instead of typing it. If you build the XML yourself, it is the value of ram:CountryID in ram:ShipToTradeParty/ram:PostalTradeAddress.

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:CountryID' is not allowed.

Where this rule applies

Rule set Version
Factur-X 1.09 BASIC WL 1.0.9-2
ZUGFeRD 2.5 BASIC WL 2.5.2
Rule text from phive-rules 4.6.4.

Check your file

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

Updated 5 November 2026