Skip to content

Error

FX-SCH-A-000839: The final recipient's global identifier needs a scheme

In short

Error: fails the selected checks.

FX-SCH-A-000839 means a global identifier in ram:UltimateShipToTradeParty/ram:GlobalID has no schemeID attribute. Add the attribute with the code for the identifier's numbering system, such as 0088 for a GLN.

On this page

What it means

Each ram:GlobalID under ram:UltimateShipToTradeParty in the header delivery section must have a schemeID attribute. This rule checks only that the attribute exists, not whether its value is empty or uses an allowed code.

Why it matters

The scheme identifies the numbering system used by the global identifier. The Extended profile requires this attribute whenever you include ram:GlobalID here.

How to fix it

Check which numbering system the final delivery recipient's global identifier uses. Add the matching schemeID to ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:GlobalID, for example schemeID="0088" for a GLN. Keep the attribute value in quotation marks when editing XML. 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

Attribute '@schemeID' is required in this context.

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

Updated 6 November 2026