What it means
This rule checks a non-empty scheme value on ram:SellerTradeParty/ram:SpecifiedLegalOrganization/ram:ID against the profile's registration identifier scheme list. An empty string passes this test. The rule does not require the scheme attribute or check the company registration number (BT-30) itself.
Why it matters
The scheme identifies the system used for the seller's company registration number. A supplied code must come from the profile's list.
How to fix it
Correct schemeID on ram:ID inside the seller's ram:SpecifiedLegalOrganization. Use the code matching the identifier, such as 0106 for a Dutch KvK number, 0009 for a French SIRET number, 0088 for a GLN or 0060 for a DUNS number. If you leave the scheme unspecified, remove the attribute rather than BT-30. Export the file again and recheck it.
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 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-000778 still fails, and which other rules do.
Related rules
- FX-SCH-A-000779 Keep one country element in the seller's legal address
- FX-SCH-A-000780 The seller's legal address may have only one region name
- FX-SCH-A-000781 Use an allowed country code in the seller's legal address
- FX-SCH-A-000782 Use an allowed scheme for the seller's electronic address
- FX-SCH-A-000783 An end customer order reference needs one order number field
- FX-SCH-A-000784 The end customer order date needs a format attribute