Skip to content

Error

FX-SCH-A-001164: The manufacturer's country must be a valid country code

In short

Error: fails the selected checks.

FX-SCH-A-001164 means a non-empty country code in the manufacturer's address on an invoice line (ram:CountryID) is not in the Extended profile's permitted country code list. Replace it with an allowed code for the manufacturer's country.

On this page

What it means

The rule checks ram:CountryID in the manufacturer's postal address on an invoice line against the Extended profile's country code list. An empty code value passes this particular check. The rule does not require the element to be present.

Why it matters

Factur-X 1.09 EXTENDED and ZUGFeRD 2.5 EXTENDED require a non-empty manufacturer country code to come from their permitted list.

How to fix it

Check the manufacturer's country in the address on the product or invoice line. In the XML, correct ram:CountryID inside ram:PostalTradeAddress of ram:ManufacturerTradeParty using a code for that country from the profile's permitted list.

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

Value of 'ram:CountryID' is not allowed.

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

Updated 6 November 2026