What it means
In the Basic WL, Basic, EN 16931 and Extended profiles of Factur-X and ZUGFeRD, each buyer postal address must contain one ram:CountryID. This rule counts elements; it does not check the country code's value.
Why it matters
The country code identifies the country in the buyer's postal address. Keeping it in one element makes that field unambiguous.
How to fix it
Enter the buyer's country in the country field of the address data. In XML, add ram:CountryID under ram:BuyerTradeParty/ram:PostalTradeAddress if it is missing, or remove duplicate country elements after checking the correct country. Use the relevant country code, such as DE, then export and recheck your file.
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-000422 still fails, and which other rules do.
Related rules
- FX-SCH-A-000423 Use an allowed buyer country code
- FX-SCH-A-000424 Use an allowed buyer registration scheme
- FX-SCH-A-000425 Give each buyer tax registration one identifier
- FX-SCH-A-000426 Add the buyer's tax registration scheme
- FX-SCH-A-000427 Use an allowed buyer tax registration scheme
- FX-SCH-A-000428 Add the buyer's electronic address scheme