What it means
Each ram:ShipFromTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress must contain exactly one ram:CountryID element. This rule counts elements; it does not check whether their text contains a valid country code.
Why it matters
The EXTENDED profile gives the legal organisation's postal address one country field. The country code's value is checked separately.
How to fix it
Correct ram:ShipFromTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress so that it contains one ram:CountryID for that address's country. Add the element if missing and remove extra occurrences. Export and recheck your file.
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-000807 still fails, and which other rules do.
Related rules
- FX-SCH-A-000808 Keep at most one ship-from company region element
- FX-SCH-A-000809 Use an allowed ship-from company country code
- FX-SCH-A-000810 Each ship-from tax registration needs one ID element
- FX-SCH-A-000811 Add a scheme attribute to the ship-from tax number
- FX-SCH-A-000812 The ship-from electronic address needs one URIID element
- FX-SCH-A-000813 Add a scheme attribute to the ship-from electronic address