What it means
This rule checks ram:CountryID under ram:ShipToTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress in the header delivery section. A non-empty value must appear in the profile's country code list. An empty value passes this particular check. FX-SCH-A-000822 checks the separate postal address directly under ram:ShipToTradeParty.
Why it matters
The country code identifies the country of the legal organisation's postal address. The Extended profile restricts this field to its country code list.
How to fix it
Correct the country code in the address within the delivery party's legal organisation details, not the separate delivery address. In XML, update ram:ShipToTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:CountryID with the allowed code for the actual country, such as DE, FR or NL. 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
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-000826 still fails, and which other rules do.
Related rules
- 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
- FX-SCH-A-000831 The delivery party's electronic address scheme must be allowed
- FX-SCH-A-000832 The final delivery party can have only one ID