What it means
Each ram:PostalTradeAddress directly inside ram:ShipFromTradeParty must contain exactly one ram:CountryID. This rule counts elements; it does not check whether the country code is filled in or valid.
Why it matters
The EXTENDED profile gives this address one country field. Checking the value of the country code is a separate requirement.
How to fix it
Check ram:ShipFromTradeParty/ram:PostalTradeAddress. Add one ram:CountryID containing the address's country code if the element is missing. If several exist, keep the one for the actual country and remove the others. 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-000803 still fails, and which other rules do.
Related rules
- FX-SCH-A-000804 Keep at most one ship-from region element
- FX-SCH-A-000805 Use an allowed ship-from country code
- FX-SCH-A-000806 Use an allowed ship-from registration scheme
- FX-SCH-A-000807 The ship-from company address needs one country element
- 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