Skip to content

Error

FX-SCH-A-000413: Every ID in the seller's VAT entry needs a scheme attribute

In short

Error: fails the selected checks.

FX-SCH-A-000413 means a ram:ID lacks a schemeID attribute inside a seller registration that also contains an ID marked schemeID="VA". Keep the seller's VAT number (BT-31) as a single ID marked schemeID="VA", and remove or correctly relocate stray IDs before exporting and rechecking the file.

On this page

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
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether FX-SCH-A-000413 still fails, and which other rules do.

Updated 6 November 2026