Skip to content

Warning

CII-SR-026: Remove the document category code from the invoice header

In short

Warning: worth checking.

CII-SR-026 warns that your CII invoice header contains ram:CategoryCode. Remove it from rsm:ExchangedDocument. This rule does not target the invoice type code or VAT category codes.

On this page

What it means

The rule checks that rsm:ExchangedDocument has no direct ram:CategoryCode child. VAT category codes, including BT-118 and BT-151, are separate fields.

Why it matters

This document category field is outside the EN 16931 CII mapping. The invoice type code (BT-3) identifies the document type, such as 380 for an invoice or 381 for a credit note.

How to fix it

Remove only ram:CategoryCode directly inside rsm:ExchangedDocument. Do not remove the invoice type code (BT-3) or VAT category codes (BT-118 and BT-151) to address this warning. Check the updated file again.

Once the file is corrected, check it again for free: Validate an invoice against EN 16931

Or fix the invoice in a form and download the corrected file, for 1 credit: Fix a rejected e-invoice

The rule as published

CategoryCode should not be present

Where this rule applies

Rule set Version
EN 16931 (CII) 1.3.17
XRechnung 3.0 (CII) 3.0.2
NLCIUS (CII) 1.0.3.13
France CTC (CII) 1.4.0-04
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether CII-SR-026 still fails, and which other rules do.

Updated 6 November 2026