Skip to content

Error

FX-SCH-A-000939: Use a permitted country code in the payer's postal address

In short

Error: fails the selected checks.

FX-SCH-A-000939 means a non-empty ram:CountryID value in the payer's postal address is not in the Extended profile's permitted list. Replace it with the listed code for the address's country.

On this page

What it means

The country value in ram:PayerTradeParty/ram:PostalTradeAddress/ram:CountryID must either be empty or appear in code list 10 in FACTUR-X_EXTENDED_codedb.xml. FX-SCH-A-000937 separately checks that the address contains one country element.

Why it matters

The Extended profile restricts non-empty country values to its country code list so that countries are represented consistently.

How to fix it

Check the country in the payer's postal address. Replace the value of ram:PayerTradeParty/ram:PostalTradeAddress/ram:CountryID with the matching code from the profile's permitted country list. If your software exports a different value, correct the country setting or ask its supplier to correct the export. Check the corrected file again.

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

Updated 6 November 2026