What it means
This rule compares a non-empty ram:CountryID in the tax representative's postal address with the profile's country code list. Use the uppercase two-letter country code, not a country name or a three-letter code. This test does not check whether the representative's details must be present.
Why it matters
A shared country code identifies the country in the tax representative's address without relying on a translated country name.
How to fix it
Correct the tax representative's country in your invoice data. In CII XML, update ram:SellerTaxRepresentativeTradeParty/ram:PostalTradeAddress/ram:CountryID under ram:ApplicableHeaderTradeAgreement. Use the code matching the address, rather than deleting the representative's details to bypass the check. Recheck the 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 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-000499 still fails, and which other rules do.
Related rules
- 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
- FX-SCH-A-000502 Use an allowed country code for the seller
- FX-SCH-A-000503 Check the seller's company registration scheme
- FX-SCH-A-000504 Check the seller's electronic address scheme
- FX-SCH-A-000505 Check the delivery date's format code