What it means
Each ram:PostalTradeAddress under ram:InvoicerTradeParty/ram:SpecifiedLegalOrganization must contain one ram:CountryID child. The test counts these elements; it does not check whether the country value is empty or allowed.
Why it matters
When the legal organisation's postal address is present, the Extended profile requires one country field within it.
How to fix it
Check the country in the address under ram:InvoicerTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress, not the invoicer's other postal address. 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-000900 still fails, and which other rules do.
Related rules
- 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
- FX-SCH-A-000905 Each invoicer electronic address entry needs one identifier
- FX-SCH-A-000906 The invoicer's electronic address needs a scheme attribute