What it means
In the Basic profiles of Factur-X and ZUGFeRD, this rule checks schemeID on ram:BuyerTradeParty/ram:SpecifiedTaxRegistration/ram:ID against the profile's tax registration scheme list. Its context is not restricted to VAT registrations. An empty checked value passes, and the rule does not check the registration number itself.
Why it matters
The scheme identifies the kind of tax registration. Changing a code to VA without checking the number could incorrectly label another tax identifier as a VAT number.
How to fix it
Check what the buyer's registration number actually represents. If it is a VAT number, use VA as schemeID on ram:ID inside the buyer's ram:SpecifiedTaxRegistration. Otherwise, use a scheme permitted by Basic for that registration type and confirm that the profile supports the identifier. 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
Value of '@schemeID' is not allowed. Where this rule applies
| Rule set | Version |
|---|---|
| Factur-X 1.09 BASIC | 1.0.9-2 |
| ZUGFeRD 2.5 BASIC | 2.5.2 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000497 still fails, and which other rules do.
Related rules
- FX-SCH-A-000498 Check the buyer's electronic address scheme
- FX-SCH-A-000499 Use an allowed country code for the tax representative
- FX-SCH-A-000500 The tax representative's VAT number needs a valid scheme code
- FX-SCH-A-000501 Check the seller's global identifier scheme
- FX-SCH-A-000502 Use an allowed country code for the seller
- FX-SCH-A-000503 Check the seller's company registration scheme