What it means
In CII, this rule checks ram:ApplicableTradeTax under a line's ram:SpecifiedLineTradeSettlement. The selected VAT category (BT-151) must be S, E, AE, K, G, O or Z. An omitted category is allowed when the same line's ram:AssociatedDocumentLineDocument/ram:LineStatusReasonCode is GROUP or INFORMATION. Those reason codes do not permit an unsupported category that is still present.
Why it matters
The line's VAT category describes its VAT treatment and contributes to the VAT breakdown. The exception allows grouping and information lines to omit a category.
How to fix it
Check the affected line's VAT category (BT-151) and use an allowed code matching its actual VAT treatment. If you intentionally omit the category for a grouping or information line, check that its LineStatusReasonCode is GROUP or INFORMATION. A heading or comment alone does not satisfy the XPath condition. Generate the file again and recheck it.
Once the file is corrected, check it again for free: Check an e-invoice
The rule as published
Code de catégorie de TVA invalide. Valeur actuelle : " … ". Veuillez utiliser un code valide : S, E, AE, K, G, O, Z. Where this rule applies
| Rule set | Version |
|---|---|
| France CTC (CII) | 1.4.0-04 |
Check your file
Drop your e-invoice to see whether BR-FR-15_BT-95_BT-151 still fails, and which other rules do.