What it means
For each ram:PostalTradeAddress directly inside ram:BuyerTaxRepresentativeTradeParty, this rule requires one ram:CountryID child element. It checks the number of elements, not the length or validity of the country code.
Why it matters
The Extended profile gives the country one place in this address. Duplicate elements break that structure even if they contain the same code.
How to fix it
Check ram:BuyerTaxRepresentativeTradeParty/ram:PostalTradeAddress in the header trade agreement. Add ram:CountryID with the correct country code if the element is missing. If several exist, keep the correct one and remove the others. Recheck your 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
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-000682 still fails, and which other rules do.
Related rules
- FX-SCH-A-000683 The tax representative's address may have only one region name
- FX-SCH-A-000684 Use an allowed country code for the tax representative
- FX-SCH-A-000685 Use an allowed registration scheme for the tax representative
- FX-SCH-A-000686 The legal organisation's address needs one country code
- FX-SCH-A-000687 The legal organisation's address may have only one region name
- FX-SCH-A-000688 Use an allowed country code for the legal organisation