What it means
Each ram:PostalTradeAddress inside ram:SpecifiedTradePaymentTerms/ram:PayeeTradeParty/ram:SpecifiedLegalOrganization must contain one ram:CountryID element. This rule counts elements; it does not check their text. It concerns the legal organisation's address, not the payee's separate postal address.
Why it matters
The legal organisation's postal address has its own required country field.
How to fix it
Correct the country in the payee's registered address. In ram:SpecifiedTradePaymentTerms/ram:PayeeTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress, add ram:CountryID if it is missing or remove repeated country elements. Keep one element containing the appropriate country code, such as DE or FR. Export the corrected file and check it 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-000998 still fails, and which other rules do.
Related rules
- FX-SCH-A-000999 Payee's registered address has repeated region fields
- FX-SCH-A-001000 Use an allowed country code for the registered address
- FX-SCH-A-001001 Payee tax registration needs one number element
- FX-SCH-A-001002 Payee tax registration number needs a scheme attribute
- FX-SCH-A-001003 Each payee address entry needs one address element
- FX-SCH-A-001004 A payee electronic address needs a scheme attribute