What it means
A non-empty value in ram:ShipFromTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:CountryID must match code list 10 in FACTUR-X_EXTENDED_codedb.xml. An empty code value passes this test.
Why it matters
The permitted list standardises the country value in the legal organisation's postal address.
How to fix it
Check the country of your ship-from legal organisation's postal address. Set ram:ShipFromTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:CountryID to the matching code from the EXTENDED profile's list. 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
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-000809 still fails, and which other rules do.
Related rules
- 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
- FX-SCH-A-000814 Use an allowed ship-from electronic address scheme
- FX-SCH-A-000815 Keep at most one delivery party role code