What it means
Each ram:PostalTradeAddress under ram:SpecifiedTradePaymentTerms/ram:PayeeTradeParty must contain one ram:CountryID element. This rule counts elements; it does not check their text. FX-SCH-A-000996 separately checks non-empty country codes.
Why it matters
The country has its own required field in this postal address structure.
How to fix it
Correct the country in the payee's address in your payment terms. In ram:SpecifiedTradePaymentTerms/ram:PayeeTradeParty/ram:PostalTradeAddress, add ram:CountryID if it is missing and remove repeated country elements. Keep one element with the appropriate country code, such as DE, FR or NL. 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-000994 still fails, and which other rules do.
Related rules
- FX-SCH-A-000995 Payee address has repeated region fields
- FX-SCH-A-000996 Use an allowed country code for the payee
- FX-SCH-A-000997 Use an allowed payee registration number scheme
- FX-SCH-A-000998 Payee's registered address needs one country element
- 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