What it means
A discount or charge on the whole invoice (SpecifiedTradeAllowanceCharge in the settlement section) contains a BasisQuantity element, the quantity the discount or charge is based on. EN 16931 describes an invoice-level discount (BG-20) or charge (BG-21) by a base amount and a percentage, never by a quantity. This rule looks only at the whole invoice, not at a single line.
Why it matters
This is a warning, so the file is still accepted. The buyer's software does not read a basis quantity, and the discount or charge amount is what counts for the totals. It is worth fixing to keep the file clean, and when the buyer needs the quantity to understand the amount.
How to fix it
Delete the BasisQuantity element from each SpecifiedTradeAllowanceCharge in the settlement section. If the amount was worked out from a base, give the base amount (BT-93 for a discount, BT-100 for a charge) and the percentage (BT-94 or BT-101) instead. If the discount really applies to certain quantities, put it on those invoice lines rather than on the whole invoice.
The rule as published
BasisQuantity 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 |
Check your file
Drop your e-invoice to see whether CII-SR-390 still fails, and which other rules do.
Related rules
- CII-SR-391 Leave the prepaid flag out of invoice discounts and charges
- CII-SR-392 Leave the unit basis amount out of invoice discounts and charges
- CII-SR-393 Leave the type code out of invoice discounts and charges
- CII-SR-394 Leave the exchange rate out of invoice discounts and charges
- CII-SR-395 Do not add a VAT subtotal element to the invoice settlement
- CII-SR-396 Do not use the logistics service charge element