What it means
The test compares a non-empty country code from ram:InvoicerTradeParty/ram:PostalTradeAddress/ram:CountryID with code list 10 in FACTUR-X_EXTENDED_codedb.xml. An empty code value passes this test. It does not check how many country elements the address contains.
Why it matters
The profile uses a defined country code list so that country values have consistent meanings.
How to fix it
Correct ram:CountryID inside ram:InvoicerTradeParty/ram:PostalTradeAddress. Use the allowed uppercase country code, for example DE for Germany, FR for France, NL for the Netherlands or BE for Belgium, rather than a country name. Export the corrected file and check it again.
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-000898 still fails, and which other rules do.
Related rules
- FX-SCH-A-000899 The invoicer's registration number needs an allowed scheme code
- FX-SCH-A-000900 The invoicer's registered address needs exactly one country
- FX-SCH-A-000901 The invoicer's registered address may have only one region
- FX-SCH-A-000902 The invoicer's company address needs a valid country code
- FX-SCH-A-000903 Each invoicer tax registration needs one identifier element
- FX-SCH-A-000904 The invoicer's VAT or tax number must say what kind it is