What it means
Within each ram:PostalTradeAddress under ram:SellerTradeParty, the test requires exactly one ram:CountryID for BT-40. This is part of the seller postal address (BG-5). The test counts elements; it does not check whether the country code is filled in or allowed.
Why it matters
The country code identifies the country in the seller's postal address. That country alone does not determine the invoice's VAT treatment.
How to fix it
Check the country in the seller's postal address. Correct the export so ram:SellerTradeParty/ram:PostalTradeAddress contains one ram:CountryID with the appropriate code, such as DE, FR or NL. Remove duplicate country elements, 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
Element 'ram:CountryID' must occur exactly 1 times. Where this rule applies
| Rule set | Version |
|---|---|
| Factur-X 1.09 MINIMUM | 1.0.9-2 |
| Factur-X 1.09 BASIC WL | 1.0.9-2 |
| Factur-X 1.09 BASIC | 1.0.9-2 |
| Factur-X 1.09 EN 16931 | 1.0.9-2 |
| Factur-X 1.09 EXTENDED | 1.0.9-2 |
| ZUGFeRD 2.5 MINIMUM | 2.5.2 |
| ZUGFeRD 2.5 BASIC WL | 2.5.2 |
| ZUGFeRD 2.5 BASIC | 2.5.2 |
| ZUGFeRD 2.5 EN 16931 | 2.5.2 |
| ZUGFeRD 2.5 EXTENDED | 2.5.2 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000035 still fails, and which other rules do.
Related rules
- FX-SCH-A-000036 The seller's country code must be an allowed code
- FX-SCH-A-000037 Label each identifier in an FC seller registration
- FX-SCH-A-000038 State the invoice currency once
- FX-SCH-A-000039 Use exactly one document totals block
- FX-SCH-A-000040 Use an allowed invoice currency code in Minimum
- FX-SCH-A-000041 The total amount excluding VAT is required