Skip to content

Error

FX-SCH-A-000874: The invoicee's address needs exactly one country

In short

Error: fails the selected checks.

FX-SCH-A-000874 means the postal address of the invoicee has no country, or more than one. Give it exactly one country code in ram:CountryID, such as DE or NL.

On this page

What it means

If the invoicee, the party the invoice is sent to when that is not the buyer, has a postal address (ram:PostalTradeAddress), the address must contain exactly one country (ram:CountryID), normally the two-letter code. The check counts the element and fails on none and on two or more.

Why it matters

Without a country the address cannot be placed, and with two countries it is unclear which one applies. The recipient's system may need the country to route and book the invoice, so the file fails the check and may be rejected.

How to fix it

Open the invoice address in your invoicing software and choose the country from the list. Check that the address is not duplicated with a different country. If you build the XML yourself, ram:CountryID appears once inside ram:PostalTradeAddress of ram:InvoiceeTradeParty.

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
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether FX-SCH-A-000874 still fails, and which other rules do.

Updated 5 November 2026