Skip to content

Error

FX-SCH-A-000824: The delivery party's organisation address needs one country field

In short

Error: fails the selected checks.

FX-SCH-A-000824 means the postal address in the delivery party's legal organisation details has no ram:CountryID element or has more than one. Make sure this address contains exactly one ram:CountryID.

On this page

What it means

For each ram:PostalTradeAddress under ram:ShipToTradeParty/ram:SpecifiedLegalOrganization in the header delivery section, this rule requires exactly one direct ram:CountryID child. It counts elements, not whether their text is filled in or uses an allowed code.

Why it matters

The Extended profile requires one country field within this address block. A missing or repeated ram:CountryID does not match that structure.

How to fix it

In the delivery party's legal organisation address, add the missing country field or remove extra country fields. In XML, keep exactly one ram:CountryID inside ram:ShipToTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress and give it the correct country code. If this address is not required for your invoice, you can remove the whole address block instead. Export and recheck.

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

Updated 6 November 2026