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 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000457 still fails, and which other rules do.
Related rules
- FX-SCH-A-000458 Each VAT breakdown row needs one tax type element
- FX-SCH-A-000459 Use an allowed tax type code in the VAT breakdown
- FX-SCH-A-000460 Add the format attribute to the invoice period end date
- FX-SCH-A-000461 Use an allowed format for the invoice period end date
- FX-SCH-A-000462 Add the format attribute to the invoice period start date
- FX-SCH-A-000463 Use an allowed format for the invoice period start date