What it means
A non-empty value in ram:ShipFromTradeParty/ram:PostalTradeAddress/ram:CountryID must match code list 10 in FACTUR-X_EXTENDED_codedb.xml. An empty code value passes this test; the test does not require the element to be present.
Why it matters
The permitted list standardises how the country is represented in your ship-from address.
How to fix it
Check the actual country of your ship-from address. Correct ram:ShipFromTradeParty/ram:PostalTradeAddress/ram:CountryID using the EXTENDED profile's country code list. Export your invoice again and recheck the 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
Value of 'ram:CountryID' is not allowed. 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-000805 still fails, and which other rules do.
Related rules
- 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
- 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