Skip to content

Warning

CII-SR-217: Line accounting account must not have a cost reference pattern

In short

Warning: worth checking.

CII-SR-217 means the accounting account on a line has a CostReferenceDimensionPattern element, which EN 16931 does not use. The invoice is still accepted, and you clear the warning by deleting that element and keeping only the ID.

On this page

What it means

A line (BG-25) may give a buyer accounting reference (BT-133) in the ID of ReceivableSpecifiedTradeAccountingAccount. The rule checks that this element has no CostReferenceDimensionPattern, a cost reference dimension pattern, inside it.

Why it matters

This is a warning, so the invoice is still accepted. The standard reads only the ID of the account, so the cost pattern is ignored. It is worth fixing if a recipient or platform wants a clean EN 16931 file.

How to fix it

Inside ReceivableSpecifiedTradeAccountingAccount on each line, delete CostReferenceDimensionPattern. Keep the ID if you want to pass on a buyer accounting reference. If your software writes it, look for a cost centre or dimension export option and turn it off.

The rule as published

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

Updated 6 November 2026