Skip to content

Warning

CII-SR-222: The seller should not have a role code

In short

Warning: worth checking.

CII-SR-222 means the seller has a RoleCode element, which EN 16931 does not use. The invoice is still accepted, and you clear the warning by deleting the role code from the seller.

On this page

What it means

The seller (BG-4) in the agreement section of the invoice must not have a RoleCode. The party is already identified as the seller by the element it sits in, SellerTradeParty.

Why it matters

This is a warning, so the invoice is still accepted. The standard has no use for a role code on the seller, so the recipient ignores it. It is worth removing if a recipient or platform wants a file that sticks to EN 16931.

How to fix it

Delete RoleCode from SellerTradeParty. Keep the seller's name, address, VAT number and the other seller details as they are. If your software adds the code by itself, choose its EN 16931 or XRechnung output instead of an extended profile.

The rule as published

RoleCode 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-222 still fails, and which other rules do.

Updated 6 November 2026