Skip to content

Error

FX-SCH-A-000745: The sales agent's country code must be allowed

In short

Error: fails the selected checks.

FX-SCH-A-000745 means a non-empty country value in the sales agent's postal address is not in the selected Extended profile's allowed country list. Replace it with the listed code for the actual country, then recheck your file.

On this page

What it means

The Extended profiles of Factur-X and ZUGFeRD check a non-empty ram:SalesAgentTradeParty/ram:PostalTradeAddress/ram:CountryID value against code list 10. An empty value is not rejected by this particular test. FX-SCH-A-000743 separately checks that the address contains exactly one country element.

Why it matters

The country field uses a controlled list of codes. Its value must match an entry in that list rather than rely on a country name or an alternative notation.

How to fix it

Check the actual country of your sales agent's postal address. Set ram:CountryID under ram:SalesAgentTradeParty/ram:PostalTradeAddress to the corresponding code from the profile's allowed list, matching its spelling and capitalisation exactly. Correct the source data or export mapping and recheck the resulting 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-000745 still fails, and which other rules do.

Updated 6 November 2026