Skip to content

Warning

CII-SR-129: Remove the type code from the unit price discount

In short

Warning: worth checking.

CII-SR-129 means the discount on a line's unit price has a type code (TypeCode), which an EN 16931 invoice should not contain. Delete the code from that discount; it is only a warning, so the file is still accepted.

On this page

What it means

On each line, the unit price before discount (BT-148) can carry one discount (BT-147). This rule checks that this discount holds no TypeCode, a code for the kind of discount or charge. The discount amount itself is allowed.

Why it matters

EN 16931 does not classify a discount on a unit price, so receiving software has no use for the code and may ignore it. The file is still accepted, because this is a warning. It is worth fixing for a clean file or when the recipient asks for no warnings.

How to fix it

In the line, open GrossPriceProductTradePrice and its AppliedTradeAllowanceCharge, and delete the TypeCode element. Leave the discount amount (ActualAmount) and the ChargeIndicator as they are. If your software adds the code on every export, choose an EN 16931, XRechnung or Peppol BIS output, or ask the supplier to stop writing it.

The rule as published

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

Updated 6 November 2026