What it means
This rule checks ram:CountryID inside ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress against code list 10. An empty value passes this code-list check. It does not check whether the country element is present or the address is complete.
Why it matters
The profile defines country codes so that the buyer's country has a consistent representation in the structured data. This rule does not determine invoice routing or VAT treatment.
How to fix it
Correct the buyer's country field or its ram:CountryID in the XML. Use the allowed code, such as NL, DE, FR or BE, rather than the full country name. For the United Kingdom, use GB rather than UK. Recheck your corrected 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-000698 still fails, and which other rules do.
Related rules
- FX-SCH-A-000699 Use an allowed scheme for the buyer's registration number
- FX-SCH-A-000700 The buyer's legal organisation address needs one country code
- FX-SCH-A-000701 The buyer's legal organisation address may have one region name
- FX-SCH-A-000702 Use an allowed country code in the buyer's legal address
- FX-SCH-A-000703 Use an allowed scheme for the buyer's tax registration
- FX-SCH-A-000704 Use an allowed scheme for the buyer's electronic address