What it means
Each ram:ID within the final recipient's ram:SpecifiedTaxRegistration must have a schemeID attribute. This test checks only whether the attribute exists, not its value; an empty attribute also satisfies this particular test.
Why it matters
The scheme distinguishes the kind of tax registration number. The Extended profile requires the attribute alongside the identifier.
How to fix it
Check the number in ram:UltimateShipToTradeParty/ram:SpecifiedTaxRegistration/ram:ID within the affected line's delivery details. Set schemeID="VA" for a VAT number or schemeID="FC" for a national tax number such as a German Steuernummer. If you do not need the registration, remove the whole ram:SpecifiedTaxRegistration block, not just ram:ID. 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 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-001122 still fails, and which other rules do.
Related rules
- FX-SCH-A-001123 Electronic address of a line's delivery party needs exactly one ID
- FX-SCH-A-001124 Electronic address of a line's delivery party needs a scheme
- FX-SCH-A-001125 Electronic address scheme of a line's delivery party must be valid
- FX-SCH-A-001126 Reference type of a document referred to on a line must be valid
- FX-SCH-A-001127 Document type code of a line's referenced document must be valid
- FX-SCH-A-001128 Tax category code on a line must be allowed