What it means
This rule checks that schemeID exists on ram:ID inside ram:SpecifiedTradePaymentTerms/ram:PayeeTradeParty/ram:SpecifiedTaxRegistration. It does not check whether the attribute has a value, whether the code is allowed or whether the registration number is correct.
Why it matters
The scheme labels the type of tax registration separately from the number itself.
How to fix it
Check whether the payee's number is a VAT number or a national tax number. On ram:ID inside ram:SpecifiedTradePaymentTerms/ram:PayeeTradeParty/ram:SpecifiedTaxRegistration, add schemeID with VA for a VAT number or FC for a national tax number. Do not leave the attribute empty merely to satisfy this presence check. Export the corrected file and check it 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
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-001002 still fails, and which other rules do.
Related rules
- FX-SCH-A-001003 Each payee address entry needs one address element
- FX-SCH-A-001004 A payee electronic address needs a scheme attribute
- FX-SCH-A-001005 The payee electronic address scheme must be an allowed code
- FX-SCH-A-001006 The VAT total currency must be an allowed code
- FX-SCH-A-001007 The VAT accounting total needs an allowed currency code
- FX-SCH-A-001008 The payment method needs an allowed code