What it means
For each ram:ApplicableTradeTax directly under ram:ApplicableHeaderTradeSettlement, this rule counts ram:TypeCode elements and requires exactly one. It does not check the element's text or whether its value is allowed. An empty element still counts.
Why it matters
The tax type identifies the tax described by the breakdown row. The profile requires a single element for that information.
How to fix it
In the affected ram:ApplicableTradeTax, add ram:TypeCode if it is missing, or remove duplicate ram:TypeCode elements. Keep the correct tax type, using VAT for VAT. If your software produces the XML, ask its supplier to correct the export if you cannot change this field. 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
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-000458 still fails, and which other rules do.
Related rules
- FX-SCH-A-000459 Use an allowed tax type code in the VAT breakdown
- FX-SCH-A-000460 Add the format attribute to the invoice period end date
- FX-SCH-A-000461 Use an allowed format for the invoice period end date
- FX-SCH-A-000462 Add the format attribute to the invoice period start date
- FX-SCH-A-000463 Use an allowed format for the invoice period start date
- FX-SCH-A-000464 Use an allowed invoice currency code