What it means
The number inside the invoicer's tax registration (ram:SpecifiedTaxRegistration/ram:ID) must carry a schemeID attribute. The attribute tells the reader whether the number is a VAT number or a national tax number. This rule only checks that the attribute is present, not what it says.
Why it matters
Without the scheme, the recipient cannot tell a VAT number from a tax number and cannot match it against its records. The Extended profile therefore requires it, and a file without it can be rejected.
How to fix it
In your invoicing software, make sure each number is entered as the right kind: VAT number or tax number. If you build the XML yourself, set the schemeID attribute on ram:InvoicerTradeParty/ram:SpecifiedTaxRegistration/ram:ID to VA for a VAT number or FC for a tax number.
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-000904 still fails, and which other rules do.