What it means
For each ram:PostalTradeAddress under ram:ShipToTradeParty/ram:SpecifiedLegalOrganization in the header delivery section, this rule requires exactly one direct ram:CountryID child. It counts elements, not whether their text is filled in or uses an allowed code.
Why it matters
The Extended profile requires one country field within this address block. A missing or repeated ram:CountryID does not match that structure.
How to fix it
In the delivery party's legal organisation address, add the missing country field or remove extra country fields. In XML, keep exactly one ram:CountryID inside ram:ShipToTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress and give it the correct country code. If this address is not required for your invoice, you can remove the whole address block instead. 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-000824 still fails, and which other rules do.
Related rules
- FX-SCH-A-000825 The organisation address can have only one region name
- FX-SCH-A-000826 The delivery party's organisation address needs an allowed country code
- FX-SCH-A-000827 The delivery party's tax registration needs one identifier
- FX-SCH-A-000828 The delivery party's tax registration needs a scheme
- FX-SCH-A-000829 The delivery party's electronic address needs one address field
- FX-SCH-A-000830 The delivery party's electronic address needs a scheme