What it means
The context selects ram:SpecifiedTaxRegistration blocks under ram:SellerTradeParty only when a ram:ID child has schemeID="FC". The test then requires a schemeID attribute on every ram:ID in each selected block. A block with no FC-labelled ID is outside this check. The test checks attribute presence, not its value.
Why it matters
The scheme attribute identifies the kind of number in ram:ID. FC identifies the seller tax number (BT-32), while VA identifies the seller VAT number (BT-31). This rule's scope is limited to blocks selected by the FC condition.
How to fix it
Inspect the ram:ID elements inside the seller's FC registration block, especially if it contains several IDs. Add the appropriate missing schemeID attribute. Use FC for the seller tax number (BT-32); do not relabel a VAT number (BT-31) from VA to FC. Correct the export and recheck the file.
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 MINIMUM | 1.0.9-2 |
| Factur-X 1.09 BASIC WL | 1.0.9-2 |
| Factur-X 1.09 BASIC | 1.0.9-2 |
| Factur-X 1.09 EN 16931 | 1.0.9-2 |
| Factur-X 1.09 EXTENDED | 1.0.9-2 |
| ZUGFeRD 2.5 MINIMUM | 2.5.2 |
| ZUGFeRD 2.5 BASIC WL | 2.5.2 |
| ZUGFeRD 2.5 BASIC | 2.5.2 |
| ZUGFeRD 2.5 EN 16931 | 2.5.2 |
| ZUGFeRD 2.5 EXTENDED | 2.5.2 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000037 still fails, and which other rules do.
Related rules
- FX-SCH-A-000038 State the invoice currency once
- FX-SCH-A-000039 Use exactly one document totals block
- FX-SCH-A-000040 Use an allowed invoice currency code in Minimum
- FX-SCH-A-000041 The total amount excluding VAT is required
- FX-SCH-A-000042 The VAT total in the invoice currency may appear only once
- FX-SCH-A-000043 The total amount including VAT is required