A line discount reduces one invoice line and is already included in that line’s net amount, while an invoice discount (a document-level allowance) is subtracted once from the sum of all line nets. To reconcile, add the printed line nets, subtract the invoice discount once, and compare the result with the invoice total before tax; never subtract a line discount a second time.
The two discounts are easy to confuse on a PDF, because both may show a percentage and both lower what you pay. They sit at different levels of the invoice, so they belong in different columns of your spreadsheet.
How do line and invoice discounts change the total?
All amounts in this synthetic vendor (supplier) invoice are in US dollars before sales tax or VAT.
| Level | Calculation | Amount |
|---|---|---|
| Line 1, gross | 10 pieces × $8.00 | $80.00 |
| Line 1, line discount 10% | $80.00 × 10% | −$8.00 |
| Line 1, line net | $80.00 − $8.00 | $72.00 |
| Line 2, line net | no discount | $28.00 |
| Sum of line nets | $72.00 + $28.00 | $100.00 |
| Invoice discount 5% | $100.00 × 5% | −$5.00 |
| Total before tax | $100.00 − $5.00 | $95.00 |
The line discount is already inside the $72.00. The invoice discount appears only once, below the line sum. That is the structure of the Peppol line net amount, defined as the line total without VAT “inclusive of line level allowances and charges”, and of the invoice total without VAT, which equals the sum of line net amounts minus document-level allowances plus document-level charges.
Store four values separately: printed line net, line discount, invoice discount and total before tax. If the equation fails, the next step is to reconcile line items to the invoice total layer by layer, through tax and amount due.
InvoiceLineLab extracts invoice line items from PDF to Excel or CSV, keeping quantities, prices, line discounts and net amounts in their own columns when the invoice prints them, with the invoice and page reference on each row. The invoice-level discount stays out of the line rows, so you subtract it once in your own check.
Does the printed unit price already include the discount?
The same purchase can be printed two ways:
- quantity 10, list price $8.00, line discount $8.00, line net $72.00;
- quantity 10, net unit price $7.20, line net $72.00.
Both describe the same result. In the second form, 10 × $7.20 already gives $72.00; subtracting another $8.00 would give a false $64.00. Add a price-basis note to each line: “list before discount”, “net after discount” or “unresolved”. Structured invoices make the distinction explicit: in Peppol, the item net price is defined as the price after any item price discount, and a separate line allowance is subtracted from quantity × price to reach the line net.
When quantity × price still fails after you know the price basis, check whether the price is quoted per 100 units or another price base before blaming the discount.
What base does a percentage discount apply to?
A printed “10%” needs a base. It can apply to the list price, to an already reduced price, or to a subset of items. Two successive 10% discounts on $100.00 give $100.00 × 0.90 × 0.90 = $81.00, not $80.00. Record the rule the vendor states (“10% + 10%” compounding, or a single 20%) rather than assuming discounts add up.
On structured invoices, a line allowance and a document allowance each have an amount and may also carry a base amount and a percentage, together with a reason. Each document-level allowance also carries its own tax category, so it is tied to a tax rate. On a PDF, look for the same three facts: amount, base and reason. If the base is missing, keep the discount as printed and mark the line for review instead of inventing a balancing amount.
How do you allocate an invoice discount to line items?
Allocation is an analysis step, for example to compare item costs after all discounts. It never changes the invoice. With proportional allocation over all $100.00 of eligible line net:
- line 1: $5.00 × 72 ÷ 100 = $3.60, derived cost $72.00 − $3.60 = $68.40;
- line 2: $5.00 × 28 ÷ 100 = $1.40, derived cost $28.00 − $1.40 = $26.60;
- control: $68.40 + $26.60 = $95.00, the invoice total before tax.
Keep the printed nets ($72.00 and $28.00) unchanged and put the derived costs in a separate column. Use either “line sum minus invoice discount” or “sum of allocated costs”, never both: subtracting $5.00 again from $95.00 gives a false $90.00. If the discount applies only to selected items, the denominator is their eligible base, not the whole invoice. If eligibility is unclear, do not allocate.
In a spreadsheet, compute each share as ROUND(discount × line net ÷ eligible base, 2), then compute the residual discount − SUM(shares) and assign it with a written rule.
Where does the last cent go?
Rounding leaves a residual even when the base is known. In a separate synthetic case, three lines of $10.00 share a $1.00 invoice discount. Each exact share is $0.3333…, and rounding each to $0.33 allocates only $0.99.
| Original position | Printed net | Rounded share | Final share | Derived cost |
|---|---|---|---|---|
| 10 | $10.00 | $0.33 | $0.34 | $9.66 |
| 20 | $10.00 | $0.33 | $0.33 | $9.67 |
| 30 | $10.00 | $0.33 | $0.33 | $9.67 |
| Control | $30.00 | $0.99 | $1.00 | $29.00 |
The rule used here gives the remaining cent to the largest fractional remainder and breaks this three-way tie by original position. Record that rule before sorting, so the cent never lands on whichever row happens to be first. It is one explicit analytical policy, not the vendor’s calculation or a mandatory accounting rule.
Check two invariants: final shares sum to the printed discount ($1.00), and derived costs sum to the eligible net minus the discount ($30.00 − $1.00 = $29.00). If the eligible base is zero, includes unexplained negative lines, mixes currencies or has unknown eligibility, stop and clarify the base.
What checks catch a discount counted twice?
- Rebuild each line: quantity × price ÷ price base − line discount = printed line net.
- Rebuild the document: sum of line nets − invoice discounts + document charges = total before tax.
- Compare the difference with every discount amount: a gap equal to a line discount usually means it was subtracted twice.
- Treat an early-payment (cash) discount separately: include it only when the invoice shows it was already deducted, not when it is merely offered in the payment terms.
Item costs after allocation are useful for unit of measure conversion between box and piece and for averages, provided the derived column is labeled as such.
FAQ
What is the difference between a line discount and an invoice discount?
A line discount applies to one line and is included in that line’s net amount. An invoice discount applies to the document and is subtracted from the sum of line nets.
Does an invoice discount reduce sales tax or VAT?
It reduces the amount before tax on which tax is usually computed, but the treatment depends on the jurisdiction and the tax rates involved. Check the tax summary printed on the invoice instead of recalculating tax yourself.
Is an allowance the same as a discount?
In the EN 16931 and Peppol vocabulary, “allowance” is the general term for a reduction, at line or document level, and “charge” is its opposite. A discount is the most common allowance.
Should I allocate an invoice discount to every line?
Only for a defined analysis and only over the eligible lines. Keep the allocation in a derived column, with a written rounding rule, and never overwrite the printed line nets.
Continue the checks
For the column layout that keeps document fields apart from rows, see invoice header fields versus line items. The synthetic invoice example shows a line discount on a single row, and the line-by-line invoice data validation lists the checks applied to each row.