Skip to content

Error

FX-SCH-A-000036: The seller's country code must be an allowed code

In short

Error: fails the selected checks.

FX-SCH-A-000036 means a non-empty seller country code (BT-40) is outside the Minimum profile's permitted country list. Use the appropriate two-letter country code in capitals, such as DE, FR or NL.

On this page

What it means

For the Minimum profile, the test checks a non-empty ram:CountryID inside ram:SellerTradeParty/ram:PostalTradeAddress against the profile's country code list. An empty value does not fail this test. FX-SCH-A-000035 separately checks that the country element occurs exactly once.

Why it matters

A standard country code gives software a consistent way to identify the country without interpreting a written country name.

How to fix it

Correct the country code in the seller's postal address, using the permitted two-letter code rather than a country name or three-letter abbreviation. For the United Kingdom, use GB. Ensure your export writes that value in the seller address's ram:CountryID, then 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

Value of 'ram:CountryID' is not allowed.

Where this rule applies

Rule set Version
Factur-X 1.09 MINIMUM 1.0.9-2
ZUGFeRD 2.5 MINIMUM 2.5.2
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether FX-SCH-A-000036 still fails, and which other rules do.

Updated 6 November 2026