Skip to content

Error

FX-SCH-A-000807: The ship-from company address needs one country element

In short

Error: fails the selected checks.

FX-SCH-A-000807 means the postal address of your ship-from party's legal organisation contains no ram:CountryID element or more than one. Add the missing element or remove duplicates so that this address contains exactly one.

On this page

What it means

Each ram:ShipFromTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress must contain exactly one ram:CountryID element. This rule counts elements; it does not check whether their text contains a valid country code.

Why it matters

The EXTENDED profile gives the legal organisation's postal address one country field. The country code's value is checked separately.

How to fix it

Correct ram:ShipFromTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress so that it contains one ram:CountryID for that address's country. Add the element if missing and remove extra occurrences. Export and recheck your 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
Rule text from phive-rules 4.6.4.

Check your file

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

Updated 6 November 2026