What it means
For each ram:PostalTradeAddress under ram:UltimateShipToTradeParty in the header delivery section, this rule requires exactly one direct ram:CountryID child. It counts country elements, not whether the value is filled in or uses an allowed country code.
Why it matters
The Extended profile requires one country field in this postal address block. A missing or repeated field does not match the required structure.
How to fix it
Correct the country field in the final delivery recipient's postal address. In ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:PostalTradeAddress, add a missing ram:CountryID or remove extra occurrences, leaving one with the correct country code. You do not need to delete the whole party to correct this field. Export and recheck.
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-000841 still fails, and which other rules do.
Related rules
- FX-SCH-A-000842 Too many regions in the final delivery address
- FX-SCH-A-000843 Country code is not allowed in the final delivery address
- FX-SCH-A-000844 The final recipient's organisation identifier scheme is not allowed
- FX-SCH-A-000845 Country field missing or repeated in the organisation's address
- FX-SCH-A-000846 Too many regions in the organisation's address
- FX-SCH-A-000847 Country code is not allowed in the organisation's address