What it means
For each ram:PostalTradeAddress inside ram:BuyerTradeParty/ram:SpecifiedLegalOrganization in the header trade agreement, this rule requires one ram:CountryID child element. It checks the number of elements, not the country code's value.
Why it matters
The Extended profile gives the country one place in this legal organisation address. The requirement applies to this address separately from the buyer's main postal address.
How to fix it
Find ram:BuyerTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress in the header trade agreement. Add a missing ram:CountryID with the correct country code, or keep the correct element and remove duplicates. Recheck your 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-000700 still fails, and which other rules do.
Related rules
- FX-SCH-A-000701 The buyer's legal organisation address may have one region name
- FX-SCH-A-000702 Use an allowed country code in the buyer's legal address
- FX-SCH-A-000703 Use an allowed scheme for the buyer's tax registration
- FX-SCH-A-000704 Use an allowed scheme for the buyer's electronic address
- FX-SCH-A-000705 Add a format attribute to the contract date
- FX-SCH-A-000706 Use an allowed contract date format code