What it means
This rule checks a non-empty ram:CountryID under ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress against the profile's country code list. An empty string passes this test. FX-SCH-A-000767 separately checks the number of country elements.
Why it matters
The registration address uses a defined country code so software can interpret its country consistently.
How to fix it
Set ram:CountryID in the tax representative's registration address to the correct allowed upper-case two-letter code, such as DE, FR, NL or BE. This is the address inside ram:SpecifiedLegalOrganization, not the tax representative's main address. If you omit the separate address, remove the whole ram:PostalTradeAddress block. Export the file again and recheck it.
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-000769 still fails, and which other rules do.
Related rules
- FX-SCH-A-000770 Use an allowed tax registration scheme
- FX-SCH-A-000771 Keep one electronic address element for the tax representative
- FX-SCH-A-000772 Add a scheme to the tax representative's electronic address
- FX-SCH-A-000773 Use an allowed electronic address scheme
- FX-SCH-A-000774 Keep at most one seller role code
- FX-SCH-A-000775 Keep one number in the seller's fax block