What it means
For each ram:PostalTradeAddress inside the line's ram:SpecifiedLineTradeDelivery/ram:ShipToTradeParty, this rule requires one ram:CountryID child. It counts elements, not country values, so a single empty ram:CountryID still passes this count test.
Why it matters
The country field identifies the country associated with the postal address, and the Extended profile gives it one place in each address block.
How to fix it
Check the line's delivery postal address. In XML, retain one ram:CountryID inside ram:SpecifiedLineTradeDelivery/ram:ShipToTradeParty/ram:PostalTradeAddress and enter the appropriate allowed country code, such as DE or FR. Remove additional ram:CountryID elements. If you have no separate line delivery address to report, remove the unused address block. Export 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-001098 still fails, and which other rules do.
Related rules
- FX-SCH-A-001099 The delivery address on a line has more than one region
- FX-SCH-A-001100 Country code in a line's delivery address is not allowed
- FX-SCH-A-001101 Delivery party's company registration number needs a scheme
- FX-SCH-A-001102 Delivery party's registration number scheme is not allowed
- FX-SCH-A-001103 The delivery party's tax registration needs exactly one number (Extended)
- FX-SCH-A-001104 Tax registration of the delivery party needs a scheme