What it means
Each ram:CategoryTradeTax within a header ram:SpecifiedTradeAllowanceCharge whose ram:ChargeIndicator/udt:Indicator is true must contain one ram:TypeCode. This rule checks the number of elements, not whether their value is VAT.
Why it matters
The tax type code identifies the kind of tax described by the block. It is separate from the VAT category code.
How to fix it
In the affected charge's ram:CategoryTradeTax, add the missing ram:TypeCode or remove duplicates after checking the correct value. For VAT, the tax type is VAT, not the VAT category code. If your software does not expose this field, ask its supplier to correct the XML export, then recheck your file.
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
Element 'ram:TypeCode' must occur exactly 1 times. Where this rule applies
| Rule set | Version |
|---|---|
| Factur-X 1.09 BASIC WL | 1.0.9-2 |
| Factur-X 1.09 BASIC | 1.0.9-2 |
| Factur-X 1.09 EN 16931 | 1.0.9-2 |
| Factur-X 1.09 EXTENDED | 1.0.9-2 |
| ZUGFeRD 2.5 BASIC WL | 2.5.2 |
| ZUGFeRD 2.5 BASIC | 2.5.2 |
| ZUGFeRD 2.5 EN 16931 | 2.5.2 |
| ZUGFeRD 2.5 EXTENDED | 2.5.2 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000480 still fails, and which other rules do.
Related rules
- FX-SCH-A-000481 Each whole-invoice charge needs one VAT category
- FX-SCH-A-000482 Use an allowed charge VAT category code (Basic WL)
- FX-SCH-A-000483 Use an allowed charge tax type code (Basic WL)
- FX-SCH-A-000484 The due date needs a format attribute
- FX-SCH-A-000485 Use an allowed due date format code (Basic WL)
- FX-SCH-A-000486 Use an allowed VAT total currency code (Basic WL)