What it means
In the Extended profile of Factur-X and ZUGFeRD, each ram:PostalTradeAddress under ram:ProductEndUserTradeParty/ram:SpecifiedLegalOrganization must contain exactly one ram:CountryID. This rule counts elements; it does not check their contents.
Why it matters
This address structure requires one country element. A missing or repeated element does not match the profile. The rule does not establish where the organisation is registered.
How to fix it
Check the postal address of the end user's legal organisation. In its ram:PostalTradeAddress, add ram:CountryID if it is missing, or remove repeated ram:CountryID elements. Put the correct country code in the remaining element, then check the 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-000722 still fails, and which other rules do.
Related rules
- FX-SCH-A-000723 The end user's company address can have only one region
- FX-SCH-A-000724 Use an allowed country code for the end user's company address
- FX-SCH-A-000725 The end user's tax registration needs exactly one number
- FX-SCH-A-000726 The end user's tax registration identifier needs a scheme
- FX-SCH-A-000727 The end user's electronic address block needs one address element
- FX-SCH-A-000728 The end user's electronic address needs a scheme