What it means
Each ram:PostalTradeAddress inside ram:SellerTradeParty/ram:SpecifiedLegalOrganization must contain one ram:CountryID element. This is separate from the seller's main postal address. The rule counts elements without checking their contents.
Why it matters
The profile gives this legal organisation address one country element. Missing or repeated elements do not match that structure, even if repeated elements contain the same code.
How to fix it
In the seller's legal organisation address, keep one ram:CountryID containing the correct country code for that address and remove duplicates. If you omit this separate address, remove the whole ram:PostalTradeAddress inside ram:SpecifiedLegalOrganization. FX-SCH-A-000781 separately checks non-empty country codes. 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
Element 'ram:CountryID' must occur exactly 1 times. 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-000779 still fails, and which other rules do.
Related rules
- FX-SCH-A-000780 The seller's legal address may have only one region name
- FX-SCH-A-000781 Use an allowed country code in the seller's legal address
- FX-SCH-A-000782 Use an allowed scheme for the seller's electronic address
- FX-SCH-A-000783 An end customer order reference needs one order number field
- FX-SCH-A-000784 The end customer order date needs a format attribute
- FX-SCH-A-000785 Use an allowed format code for the end customer order date