Skip to content

Error

FX-SCH-A-000684: Use an allowed country code for the tax representative

In short

Error: fails the selected checks.

FX-SCH-A-000684 means the country code in your buyer's tax representative's postal address is not on the Extended profile's allowed list. Replace the value in ram:CountryID with the listed code for the intended country.

On this page

What it means

This rule checks ram:CountryID inside ram:BuyerTaxRepresentativeTradeParty/ram:PostalTradeAddress against code list 10. An empty value passes this check. FX-SCH-A-000682 separately checks that the address contains one country element, not that its value is filled in.

Why it matters

The profile uses a defined list of codes so that countries have a consistent representation in the XML.

How to fix it

Correct ram:CountryID in the buyer's tax representative's postal address. Use the allowed country code, such as DE for Germany, FR for France or NL for the Netherlands, rather than the country's name. Recheck your corrected file.

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

Updated 6 November 2026