What it means
Each ram:PostalTradeAddress under ram:InvoicerTradeParty must contain one ram:CountryID child. The test counts country elements; it does not check whether the value is empty or is an allowed country code.
Why it matters
When this postal address is present, the Extended profile requires one country field within it.
How to fix it
Check the country in the invoicer's postal address. In ram:InvoicerTradeParty/ram:PostalTradeAddress, add a missing ram:CountryID or keep the correct country and remove extra ram:CountryID elements. 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
Element 'ram:CountryID' must occur exactly 1 times. 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-000896 still fails, and which other rules do.
Related rules
- FX-SCH-A-000897 The invoicer's address may have only one region
- FX-SCH-A-000898 The invoicer's country must use an allowed country code
- 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