Skip to content

Error

FX-SCH-A-000779: Keep one country element in the seller's legal address

In short

Error: fails the selected checks.

FX-SCH-A-000779 means the seller's legal organisation address contains no ram:CountryID element or contains more than one. Keep exactly one country element, or remove the whole separate address if you do not need it.

On this page

What it means

Each ram:PostalTradeAddress inside ram:SellerTradeParty/ram:SpecifiedLegalOrganization must contain one ram:CountryID element. This is separate from the seller's main postal address. The rule counts elements without checking their contents.

Why it matters

The profile gives this legal organisation address one country element. Missing or repeated elements do not match that structure, even if repeated elements contain the same code.

How to fix it

In the seller's legal organisation address, keep one ram:CountryID containing the correct country code for that address and remove duplicates. If you omit this separate address, remove the whole ram:PostalTradeAddress inside ram:SpecifiedLegalOrganization. FX-SCH-A-000781 separately checks non-empty country codes. Export the file again and recheck it.

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-000779 still fails, and which other rules do.

Updated 6 November 2026