Skip to content

Error

FX-SCH-A-000898: The invoicer's country must use an allowed country code

In short

Error: fails the selected checks.

FX-SCH-A-000898 means a non-empty country code in the invoicer's postal address is not in the Extended profile's allowed list. Correct ram:CountryID to the code for the actual country, such as DE, FR or NL.

On this page

What it means

The test compares a non-empty country code from ram:InvoicerTradeParty/ram:PostalTradeAddress/ram:CountryID with code list 10 in FACTUR-X_EXTENDED_codedb.xml. An empty code value passes this test. It does not check how many country elements the address contains.

Why it matters

The profile uses a defined country code list so that country values have consistent meanings.

How to fix it

Correct ram:CountryID inside ram:InvoicerTradeParty/ram:PostalTradeAddress. Use the allowed uppercase country code, for example DE for Germany, FR for France, NL for the Netherlands or BE for Belgium, rather than a country name. Export the corrected file and check it 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-000898 still fails, and which other rules do.

Updated 6 November 2026