What it means
This rule compares a non-empty ram:CountryID inside ram:SpecifiedTradePaymentTerms/ram:PayeeTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress with the profile's country-code list. An empty value is not rejected by this test. FX-SCH-A-000998 checks the number of country elements, not whether they contain a value.
Why it matters
The profile uses standard country codes to represent countries in the legal organisation's structured address.
How to fix it
Correct ram:CountryID inside ram:SpecifiedTradePaymentTerms/ram:PayeeTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress. Use the uppercase two-letter code for the registered address's actual country, such as NL for the Netherlands. Do not use a country name, a three-letter code such as DEU or a lowercase code. Export the corrected file and check it 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-001000 still fails, and which other rules do.
Related rules
- FX-SCH-A-001001 Payee tax registration needs one number element
- FX-SCH-A-001002 Payee tax registration number needs a scheme attribute
- FX-SCH-A-001003 Each payee address entry needs one address element
- FX-SCH-A-001004 A payee electronic address needs a scheme attribute
- FX-SCH-A-001005 The payee electronic address scheme must be an allowed code
- FX-SCH-A-001006 The VAT total currency must be an allowed code