What it means
Each ram:PostalTradeAddress directly under ram:PayerTradeParty must contain exactly one direct ram:CountryID child. This test counts elements, not their text. FX-SCH-A-000939 separately checks non-empty country values against the permitted list.
Why it matters
The Extended profile requires one country element within each payer postal address.
How to fix it
Check the country in the payer's postal address. In ram:PayerTradeParty/ram:PostalTradeAddress, include one ram:CountryID containing the appropriate country code and remove any additional ram:CountryID elements. Correct this address rather than changing unrelated payer details. Check the corrected file again.
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-000937 still fails, and which other rules do.
Related rules
- FX-SCH-A-000938 Do not repeat the region in the payer's postal address
- FX-SCH-A-000939 Use a permitted country code in the payer's postal address
- FX-SCH-A-000940 Use a permitted scheme for the payer's company registration number
- FX-SCH-A-000941 Give the payer's company address one country element
- FX-SCH-A-000942 Do not repeat the region in the payer's company address
- FX-SCH-A-000943 Use an allowed country code for the payer's company address