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 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000840 still fails, and which other rules do.
Related rules
- FX-SCH-A-000841 The final recipient's address needs one country field
- FX-SCH-A-000842 Too many regions in the final delivery address
- FX-SCH-A-000843 Country code is not allowed in the final delivery address
- FX-SCH-A-000844 The final recipient's organisation identifier scheme is not allowed
- FX-SCH-A-000845 Country field missing or repeated in the organisation's address
- FX-SCH-A-000846 Too many regions in the organisation's address