What it means
This rule checks ram:CountryID inside ram:BuyerTaxRepresentativeTradeParty/ram:PostalTradeAddress against code list 10. An empty value passes this check. FX-SCH-A-000682 separately checks that the address contains one country element, not that its value is filled in.
Why it matters
The profile uses a defined list of codes so that countries have a consistent representation in the XML.
How to fix it
Correct ram:CountryID in the buyer's tax representative's postal address. Use the allowed country code, such as DE for Germany, FR for France or NL for the Netherlands, rather than the country's name. Recheck your corrected 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
Value of 'ram:CountryID' is not allowed. Where this rule applies
| Rule set | Version |
|---|---|
| Factur-X 1.09 EXTENDED | 1.0.9-2 |
| ZUGFeRD 2.5 EXTENDED | 2.5.2 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000684 still fails, and which other rules do.
Related rules
- FX-SCH-A-000685 Use an allowed registration scheme for the tax representative
- FX-SCH-A-000686 The legal organisation's address needs one country code
- FX-SCH-A-000687 The legal organisation's address may have only one region name
- FX-SCH-A-000688 Use an allowed country code for the legal organisation
- FX-SCH-A-000689 Each tax registration needs one identifier
- FX-SCH-A-000690 The tax representative's tax number needs a scheme attribute