What it means
Each discount (BG-27) or charge (BG-28) on an invoice line is checked for a BasisQuantity element, a quantity that the discount or charge is based on. EN 16931 describes these entries with an amount, an optional base amount, an optional percentage and a reason. It has no quantity there.
Why it matters
This is a warning, so the file is still accepted. The recipient reads the amount and ignores the quantity. If the discount was meant to scale with a quantity, it is the amount you state that counts, not anything worked out from this element.
How to fix it
Find the BasisQuantity inside the line's SpecifiedTradeAllowanceCharge in the XML and delete it. Check that the discount or charge amount is already the final figure for the line, since nothing will be calculated from the quantity. If you cannot edit the file, ask your invoicing software vendor to stop exporting this element.
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-187 still fails, and which other rules do.