What it means
This rule checks non-empty schemeID values on ram:SpecifiedLegalOrganization/ram:ID under ram:SpecifiedTradePaymentTerms/ram:PayeeTradeParty against the profile's scheme-code list. The schemes use four-digit ISO 6523 codes. This test does not reject a missing or empty scheme value.
Why it matters
The scheme identifies the system used for the company registration number, so a supplied code must come from the profile's allowed list.
How to fix it
Check the scheme of the payee's company registration number. Correct schemeID on ram:SpecifiedLegalOrganization/ram:ID under ram:SpecifiedTradePaymentTerms/ram:PayeeTradeParty. Examples include 0002 for a French SIREN, 0009 for a French SIRET and 0106 for a Dutch KvK number. If you cannot establish the scheme, omit this optional attribute rather than guessing. Check the corrected file again.
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-000997 still fails, and which other rules do.
Related rules
- FX-SCH-A-000998 Payee's registered address needs one country element
- FX-SCH-A-000999 Payee's registered address has repeated region fields
- FX-SCH-A-001000 Use an allowed country code for the registered address
- FX-SCH-A-001001 Payee tax registration needs one number element
- FX-SCH-A-001002 Payee tax registration number needs a scheme attribute
- FX-SCH-A-001003 Each payee address entry needs one address element