What it means
The check applies to ram:PayeeTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:CountryID. A non-empty value must match the allowed country code list. An empty value does not fail this rule; the rule does not check whether the element exists.
Why it matters
Using the profile's country codes makes the legal organisation's postal country consistent for software reading the invoice.
How to fix it
Correct ram:CountryID in the payee's legal organisation postal address, not just in the payee's main address. Use the appropriate two-letter country code in capitals, such as DE, FR, NL or BE, from the allowed list. Do not use a country name or a three-letter code such as DEU. Regenerate 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-000921 still fails, and which other rules do.
Related rules
- FX-SCH-A-000922 The payee's tax registration needs one identifier element
- FX-SCH-A-000923 Add the scheme attribute to the payee's tax registration number
- FX-SCH-A-000924 Give the payee's electronic address block one address element
- FX-SCH-A-000925 Add the scheme attribute to the payee's electronic address
- FX-SCH-A-000926 Use a permitted scheme for the payee's electronic address
- FX-SCH-A-000927 Use at most one direct ram:ID for the payer