Skip to content

Error

FX-SCH-A-000767: Keep one country element in the registration address

In short

Error: fails the selected checks.

FX-SCH-A-000767 means the postal address in the seller's tax representative's company registration details 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:SellerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization must contain one ram:CountryID element. This address is separate from the tax representative's main postal address. The rule counts elements without checking their text.

Why it matters

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

How to fix it

In the tax representative's registration address, keep one ram:CountryID containing the correct country code for that address and remove any duplicates. If you do not need the separate address, remove its whole ram:PostalTradeAddress block. FX-SCH-A-000769 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-000767 still fails, and which other rules do.

Updated 6 November 2026