What it means
For each ram:PostalTradeAddress directly under ram:SalesAgentTradeParty, the Extended profiles of Factur-X and ZUGFeRD require exactly one direct ram:CountryID child. This rule counts elements; it does not check whether their text is empty or contains an allowed country code.
Why it matters
The profile gives each sales agent postal address one country field. A missing or repeated country element does not meet that structure.
How to fix it
Correct the country field for the sales agent's own postal address in your invoice data. In XML, make sure ram:SalesAgentTradeParty/ram:PostalTradeAddress contains exactly one ram:CountryID with the appropriate country code. Add the missing element or remove duplicates, then recheck the 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-000743 still fails, and which other rules do.
Related rules
- FX-SCH-A-000744 The sales agent's address can have at most one region
- FX-SCH-A-000745 The sales agent's country code must be allowed
- FX-SCH-A-000746 The sales agent's registration scheme must be an allowed code
- FX-SCH-A-000747 The sales agent's organisation address needs one country element
- FX-SCH-A-000748 The sales agent's organisation address can have at most one region
- FX-SCH-A-000749 The sales agent's organisation address needs an allowed country code