What it means
When an invoice has a delivery address, that address must contain exactly one country code (BT-80), such as DE for Germany. The check counts the ram:CountryID elements in the ship-to address and expects one.
Why it matters
EN 16931 requires a country in every address, so an address without one is incomplete. A file that fails this check is not valid for the profile, and the recipient's system can reject it.
How to fix it
Open the delivery address in your invoicing software and fill in the country. If the delivery address is not needed, remove it instead of leaving it half filled. If you build the XML yourself, ram:PostalTradeAddress under ram:ShipToTradeParty needs exactly one ram:CountryID with a two-letter code. If the element appears twice, delete the extra one.
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
Element 'ram:CountryID' must occur exactly 1 times. Where this rule applies
| Rule set | Version |
|---|---|
| Factur-X 1.09 BASIC WL | 1.0.9-2 |
| Factur-X 1.09 BASIC | 1.0.9-2 |
| Factur-X 1.09 EN 16931 | 1.0.9-2 |
| Factur-X 1.09 EXTENDED | 1.0.9-2 |
| ZUGFeRD 2.5 BASIC WL | 2.5.2 |
| ZUGFeRD 2.5 BASIC | 2.5.2 |
| ZUGFeRD 2.5 EN 16931 | 2.5.2 |
| ZUGFeRD 2.5 EXTENDED | 2.5.2 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000455 still fails, and which other rules do.
Related rules
- FX-SCH-A-000456 A delivery address may contain only one region
- FX-SCH-A-000457 The delivery country must be a valid country code (Basic WL)
- 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