Skip to content

Fatal

CII-SR-479: The total of invoice discounts may appear only once

In short

Fatal: fails the selected checks.

CII-SR-479 means the invoice totals contain the total of the discounts on the whole invoice (AllowanceTotalAmount) more than once. Fix it by keeping one value that equals the sum of those discounts and removing the repeat.

On this page

What it means

The totals section (SpecifiedTradeSettlementHeaderMonetarySummation) holds the sum of the discounts on the whole invoice (BT-107) in the element AllowanceTotalAmount. The check counts how often it appears and allows at most one.

Why it matters

This figure is subtracted from the sum of the lines to get the invoice total excluding VAT. With two values the recipient cannot tell which one to subtract, so the totals do not reconcile. This is a fatal error and the invoice is rejected.

How to fix it

Your invoicing software normally adds up the discounts itself, so a repeated figure is usually an export fault or a hand edit. Create and export the invoice again and run the check once more. If you edit the XML yourself, delete the extra AllowanceTotalAmount and keep the one that equals the discounts on the whole invoice (BT-92) added together.

The rule as published

AllowanceTotalAmount shall occur at most once in SpecifiedTradeSettlementHeaderMonetarySummation.

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

Updated 6 November 2026