What it means
This rule checks every ram:ID in a header seller ram:SpecifiedTaxRegistration selected because it contains an ID with schemeID="VA". Each checked ID must have a schemeID attribute. The test checks attribute presence only: an empty attribute passes this test, and its value is not checked here. It applies in all five Factur-X and ZUGFeRD profiles.
Why it matters
The scheme identifies the kind of tax registration number. This check detects missing scheme attributes within a registration containing a VAT number.
How to fix it
Check the seller's VAT registration in your XML export. Keep one ram:ID with schemeID="VA" for the VAT number. Put a separate tax number in its appropriate registration with schemeID="FC", rather than leaving an extra ID in the VAT entry. Adding a scheme attribute to an extra ID does not resolve the separate one-ID-per-registration check. 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-000413 still fails, and which other rules do.
Related rules
- FX-SCH-A-000414 Check the currency code on the VAT accounting total
- FX-SCH-A-000415 Each earlier-invoice reference needs one invoice number
- FX-SCH-A-000416 The invoice date must be written as YYYYMMDD (format 102)
- FX-SCH-A-000417 The invoice type code must be one the profile allows
- FX-SCH-A-000418 Use an allowed Basic WL specification identifier
- FX-SCH-A-000419 Give the buyer one postal address