What it means
In the Basic profiles of Factur-X and ZUGFeRD, this rule checks ram:BuyerTradeParty/ram:PostalTradeAddress/ram:CountryID against the profile's country code list. An empty checked value passes. This test does not check the rest of the address or determine which VAT treatment applies.
Why it matters
The country code identifies the country in your buyer's postal address in a standard form.
How to fix it
Correct the country field in your buyer's address so the export uses the appropriate two-letter ISO 3166-1 code from the profile's list. Use GB for the United Kingdom rather than UK, and GR for Greece rather than EL. In XML, correct ram:CountryID inside the buyer's ram:PostalTradeAddress, then 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 BASIC | 1.0.9-2 |
| ZUGFeRD 2.5 BASIC | 2.5.2 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000495 still fails, and which other rules do.
Related rules
- FX-SCH-A-000496 Use an allowed buyer registration scheme (Basic)
- FX-SCH-A-000497 Use an allowed buyer tax registration scheme (Basic)
- FX-SCH-A-000498 Check the buyer's electronic address scheme
- FX-SCH-A-000499 Use an allowed country code for the tax representative
- FX-SCH-A-000500 The tax representative's VAT number needs a valid scheme code
- FX-SCH-A-000501 Check the seller's global identifier scheme