What it means
Each ram:PayeeTradeParty/ram:PostalTradeAddress must contain exactly one ram:CountryID child element. The rule counts elements; an empty ram:CountryID still counts as one. It does not check the country code's value.
Why it matters
The Extended profile defines one country element within each payee postal address, giving software a consistent address structure.
How to fix it
In ram:PayeeTradeParty/ram:PostalTradeAddress, add a missing ram:CountryID with the correct country code. If several country elements exist, retain the one for the address's country and remove the others. Ask your software supplier to correct the export if you cannot change this structure. Regenerate and recheck your 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-000915 still fails, and which other rules do.
Related rules
- FX-SCH-A-000916 The payee's address may contain one region element
- FX-SCH-A-000917 The payee's address needs a valid country code
- FX-SCH-A-000918 The payee's company registration scheme must be valid
- FX-SCH-A-000919 The payee's company address needs one country element
- FX-SCH-A-000920 The payee's company address may contain one region element
- FX-SCH-A-000921 The payee's company address needs a valid country code