What it means
In the Basic WL profiles of Factur-X and ZUGFeRD, this rule checks a non-empty ram:TypeCode in ram:CategoryTradeTax against the profile's tax-type list. It applies to ram:SpecifiedTradeAllowanceCharge under ram:ApplicableHeaderTradeSettlement where the charge indicator text equals false, identifying an invoice-level discount (BG-20). An empty code value passes this test. FX-SCH-A-000473 separately checks the number of ram:TypeCode elements.
Why it matters
The tax type identifies the tax described by the discount's tax block. An unlisted code fails this profile requirement without proving that a recipient cannot process it.
How to fix it
For VAT, set the affected ram:TypeCode to VAT. Keep the VAT category in its separate ram:CategoryCode field. If your software produces the wrong tax type code and you cannot change it, ask its supplier to correct the export. 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 BASIC WL | 1.0.9-2 |
| ZUGFeRD 2.5 BASIC WL | 2.5.2 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000476 still fails, and which other rules do.
Related rules
- FX-SCH-A-000477 Keep one charge indicator on an invoice-level charge
- FX-SCH-A-000478 Each whole-invoice charge needs one amount
- FX-SCH-A-000479 Each whole-invoice charge needs one VAT details block
- FX-SCH-A-000480 Each charge tax block needs one tax type code
- 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)