Skip to content

Warning

CII-SR-139: Remove the maximum quantity from the unit price after discount

In short

Warning: worth checking.

CII-SR-139 means the unit price after discount on a line has a maximum quantity (MaximumQuantity), which an EN 16931 invoice should not contain. Delete that element; it is only a warning, so the file is still accepted.

On this page

What it means

On each line, the unit price after discount (BT-146) sits in the NetPriceProductTradePrice block. This rule checks that the block holds no MaximumQuantity, an element that gives the largest quantity for which the price applies.

Why it matters

EN 16931 states the price actually charged on the line, not the quantity limits it depends on, so receiving software may ignore a maximum quantity. The file is still accepted, because this is a warning. It is worth fixing for a clean file, or when the buyer needs the limit and might not see it.

How to fix it

Remove the MaximumQuantity element from NetPriceProductTradePrice in each affected line. Keep the unit price (ChargeAmount) and the quantity of the line. If the limit matters to the buyer, add it to a note on the line (BT-127). If your invoicing software writes the element itself, ask the supplier for an EN 16931, XRechnung or Peppol BIS format.

The rule as published

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

Updated 6 November 2026