What it means
Every ram:GlobalID inside ram:BuyerAgentTradeParty under ram:ApplicableHeaderTradeAgreement must have @schemeID. This test checks only attribute presence. An existing but empty attribute passes this test; permitted non-empty codes are checked by FX-SCH-A-000657.
Why it matters
The scheme identifies the numbering system used for the global identifier.
How to fix it
Confirm the identifier's numbering scheme with the buyer agent. Add schemeID to the affected ram:GlobalID using the matching permitted code, for example 0088 for a GLN or 0060 for a DUNS number. Do not choose a scheme just because its code passes a check. Re-export and recheck your invoice.
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 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000656 still fails, and which other rules do.
Related rules
- FX-SCH-A-000657 Check the buyer agent's global identifier scheme
- FX-SCH-A-000658 Give the buyer agent's address one country element
- FX-SCH-A-000659 Keep at most one buyer agent region element
- FX-SCH-A-000660 Check the buyer agent's country code
- FX-SCH-A-000661 Check the buyer agent's registration identifier scheme
- FX-SCH-A-000662 Country in the company address of the buyer's agent