Skip to content

Error

FX-SCH-A-000996: Use an allowed country code for the payee

In short

Error: fails the selected checks.

FX-SCH-A-000996 means ram:CountryID in the payee's postal address in your payment terms contains an unlisted country code. Use the appropriate uppercase two-letter country code, such as DE, FR, NL or BE.

On this page

What it means

This rule compares a non-empty ram:CountryID value under ram:SpecifiedTradePaymentTerms/ram:PayeeTradeParty/ram:PostalTradeAddress with the profile's country-code list. An empty value is not rejected by this test. FX-SCH-A-000994 checks the number of country elements, not whether they contain a value.

Why it matters

The profile uses standard country codes to represent countries in structured address data.

How to fix it

Correct ram:CountryID in ram:SpecifiedTradePaymentTerms/ram:PayeeTradeParty/ram:PostalTradeAddress. Use the uppercase two-letter code for the address's actual country, such as DE for Germany or FR for France, rather than a country name or a three-letter code such as DEU. 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-000996 still fails, and which other rules do.

Updated 6 November 2026