What it means
For a discount on the whole invoice (BG-20), this rule checks ram:CategoryTradeTax/ram:TypeCode inside ram:SpecifiedTradeAllowanceCharge where ram:ChargeIndicator/udt:Indicator is false. This tax type is separate from the VAT category (BT-95). A non-empty value must be allowed by the profile's tax type code list. An empty value passes this code-list check.
Why it matters
The tax type identifies the tax to which the discount's category belongs. It is not the VAT category or the VAT rate.
How to fix it
Check the tax type assigned to your invoice discount. If you generate the XML yourself, set ram:CategoryTradeTax/ram:TypeCode to VAT in the header-level ram:SpecifiedTradeAllowanceCharge whose ram:ChargeIndicator/udt:Indicator is false. Generate the file again and recheck it.
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 EN 16931 | 1.0.9-2 |
| ZUGFeRD 2.5 EN 16931 | 2.5.2 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000600 still fails, and which other rules do.
Related rules
- FX-SCH-A-000601 The reason code for an invoice discount must be valid
- FX-SCH-A-000602 Check the VAT category code for the invoice charge
- FX-SCH-A-000603 Check the tax type for the invoice charge
- FX-SCH-A-000604 The reason code for an invoice charge must be valid
- FX-SCH-A-000605 Use format code 102 for the due date
- FX-SCH-A-000606 Check the currency code on the VAT total