What it means
Checks a non-empty ram:TypeCode in ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax against tax type code list 26. An absent or empty element passes this value test. The test does not require every tax entry to describe VAT.
Why it matters
The tax type code identifies which tax the breakdown entry describes. Changing a different tax to VAT would change that meaning.
How to fix it
Correct ram:TypeCode in the affected header-level ram:ApplicableTradeTax. Use VAT in capitals when the entry reports VAT. If it reports another tax, use the allowed code for that tax rather than replacing it with VAT just to clear the error. Export the corrected invoice 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
Value of 'ram:TypeCode' 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-000857 still fails, and which other rules do.
Related rules
- FX-SCH-A-000858 Too many invoicing period descriptions
- FX-SCH-A-000859 Invoicing period end date format is not allowed
- FX-SCH-A-000860 Invoicing period start date format is not allowed
- FX-SCH-A-000861 Invoice currency code is not allowed
- FX-SCH-A-000862 The earlier invoice's date needs an allowed format
- FX-SCH-A-000863 Use an allowed type code for the earlier invoice