What it means
For a charge on the whole invoice (BG-21), this rule checks ram:CategoryTradeTax/ram:CategoryCode inside ram:SpecifiedTradeAllowanceCharge where ram:ChargeIndicator/udt:Indicator is true. A non-empty value must belong to the profile's category code list. An empty value passes this code-list check, which does not establish whether the category is present or appropriate.
Why it matters
The category identifies the charge's tax treatment and connects it to the relevant VAT breakdown. A recognised code alone does not establish that you have chosen the correct treatment.
How to fix it
Check the tax treatment of your charge and correct its VAT category (BT-102). If you generate XML, update ram:CategoryTradeTax/ram:CategoryCode in the relevant header-level charge block. Do not choose a category merely because it passes the code-list check. 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:CategoryCode' 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-000602 still fails, and which other rules do.
Related rules
- 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
- FX-SCH-A-000607 Check the VAT accounting currency on the VAT total
- FX-SCH-A-000608 Card details need one ID element