What it means
This rule checks ram:CategoryCode inside the line's ram:ApplicableTradeTax under ram:SpecifiedLineTradeSettlement. A non-empty value must belong to the profile's category code list. Codes can contain more than one letter, such as AE for reverse charge. An empty value passes this check, which does not establish whether the category is appropriate for the supply.
Why it matters
The category describes the line's tax treatment. It is separate from the VAT rate, and recognising the code does not establish that the treatment is correct.
How to fix it
Check the affected line's tax treatment and correct its VAT category (BT-151). If you generate XML, update ram:ApplicableTradeTax/ram:CategoryCode in that line's settlement block. Enter the code alone, without a description or percentage. Do not choose S solely because it is recognised. 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-000619 still fails, and which other rules do.
Related rules
- FX-SCH-A-000620 Check the line tax type code
- FX-SCH-A-000621 Check the line period end date format
- FX-SCH-A-000622 Check the line period start date format
- FX-SCH-A-000623 Use an allowed line discount reason code
- FX-SCH-A-000624 Use an allowed line charge reason code
- FX-SCH-A-000625 Keep at most one item description