What it means
This rule checks the country code value of ram:CountryID under ram:ProductEndUserTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress against code list 10 in FACTUR-X_EXTENDED_codedb.xml. An empty code value passes this particular test. The number of country elements is checked separately.
Why it matters
The Extended profile of Factur-X and ZUGFeRD uses a defined list of country codes. A non-empty value outside that list does not meet this rule.
How to fix it
Correct ram:CountryID in the postal address of the end user's legal organisation. Use the allowed code for that country rather than its name. For the United Kingdom, use GB rather than UK. Keep the correct country information and check the file again.
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-000724 still fails, and which other rules do.
Related rules
- FX-SCH-A-000725 The end user's tax registration needs exactly one number
- FX-SCH-A-000726 The end user's tax registration identifier needs a scheme
- FX-SCH-A-000727 The end user's electronic address block needs one address element
- FX-SCH-A-000728 The end user's electronic address needs a scheme
- FX-SCH-A-000729 Use an allowed scheme for the end user's electronic address
- FX-SCH-A-000730 A quotation reference needs the quotation number