Skip to content

Error

FX-SCH-A-000840: The final recipient's global identifier scheme must be allowed

In short

Error: fails the selected checks.

FX-SCH-A-000840 means the non-empty schemeID on the final delivery recipient's ram:GlobalID is not in the Extended profile's allowed list. Use the permitted code for the identifier's numbering system, such as 0088 for a GLN or 0060 for a DUNS number.

On this page

What it means

This rule checks schemeID on ram:UltimateShipToTradeParty/ram:GlobalID in the header delivery section. A non-empty value must appear in the profile's identification scheme list. An absent or empty value does not fail this test; FX-SCH-A-000839 separately checks that the attribute exists.

Why it matters

The scheme code identifies the numbering system used by the global identifier. The Extended profile restricts which codes can identify that system in this field.

How to fix it

Confirm the numbering system of the final delivery recipient's global identifier. Set its matching allowed code in the schemeID attribute of ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:GlobalID. Preserve leading zeroes, for example schemeID="0088", rather than entering the label GLN. 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 '@schemeID' 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-000840 still fails, and which other rules do.

Updated 6 November 2026