Invoice reconciliation: line items to total

Invoice reconciliation step by step: bridge line items to the total and amount due, find the stage that breaks, and catch errors a matching total hides.

See the PDF-to-Excel example

Invoice reconciliation is the check that a vendor invoice agrees with itself and with its supporting records before it is paid: line items, document totals, tax, amounts already paid and, for purchase-order spending, the order and the goods receipt. At line level, rebuild the amount due in four stages (sum of line net amounts, total before tax, total including tax, amount due) and compare each stage with the printed figure: the first stage that differs tells you where to look.

This article covers the arithmetic inside one invoice. When the same invoice must also agree with a purchase order and a receiving report, run the three-way match at line level on the quantities and prices you have just confirmed.

What is invoice reconciliation in accounts payable?

In accounts payable (AP), “reconciling an invoice” can mean three different comparisons. Name the one you are doing before you start, because each needs different evidence:

  1. Internal reconciliation: line items → total before tax → total including tax → amount due, all on the same invoice. This is the subject of this article.
  2. Order and receipt matching: invoice lines against the purchase order (PO) and the goods receipt. HMRC’s procure-to-pay guidance describes the PO-invoice match, and the three-way match that adds the goods received note, as key controls.
  3. Payment reconciliation: the invoice against what was actually paid later. That needs payment records; the invoice alone cannot tell you its current balance.

The tax layer is usually sales tax on a US invoice and VAT on a UK or EU invoice. The bridge is the same; only the label of that stage changes.

How do you reconcile invoice line items to the amount due?

Work on one invoice, one currency and every page of the line table. The synthetic invoice below is fictional; all amounts are in US dollars.

LineQuantityUnit priceLine net amount
A312.5037.50
B104.2542.50
C120.0020.00
Sum of line net amounts100.00

The summary area of the same invoice shows a freight charge, a document discount (an “allowance” in Peppol terms), tax and a deposit already paid. Rebuild it stage by stage:

StageCalculationCalculatedPrintedDifference
1. Sum of line net amounts37.50 + 42.50 + 20.00100.00100.000.00
2. Total before tax100.00 + 5.00 freight − 10.00 allowance95.0095.000.00
3. Total including tax95.00 + 19.00 tax (20% in this fictional case)114.00114.000.00
4. Amount due114.00 − 30.00 already paid84.0084.000.00

The steps are:

  1. Check each line: quantity × unit price = line net amount (3 × 12.50 = 37.50; 10 × 4.25 = 42.50; 1 × 20.00 = 20.00).
  2. Sum the line net amounts and compare with the printed subtotal.
  3. Apply document-level charges and allowances once. The Peppol rule BR-CO-13 defines the total without tax as the line net sum minus document allowances plus document charges.
  4. Add the printed tax to get the total including tax.
  5. Subtract amounts already paid and add any stated rounding. Peppol rule BR-CO-16 states the amount due as total with tax minus paid amount plus rounding amount.

Define “difference” as calculated minus printed and keep it on every stage, even when it is zero. That record is what makes the reconciliation reviewable.

InvoiceLineLab extracts invoice line items from PDF to Excel or CSV, one row per line with quantity, unit price, line net amount and the source page, so stage 1 of this bridge starts from rows you can check against the PDF. The synthetic example on the home page shows the output table.

Why don’t my invoice line items add up to the total?

Look at the first stage that shows a difference. It points to a layer, not to a culprit line.

First stage that differsLook first atDo not
1. Sum of line net amountsA missing page, a wrapped description read as a second line, a carried subtotal read as an item, a decimal separatorCopy the printed subtotal over your sum
2. Total before taxFreight, handling or document discounts; a line discount subtracted a second timeSpread the difference across items
3. Total including taxThe tax figure copied from the PDF; tax split by rateRecalculate tax with a rate you assumed
4. Amount dueDeposits or prior payments, an explicit rounding amountSubtract a deposit from a field already labelled as the balance

Suppose the tax was copied as 17.00 instead of the printed 19.00. Stage 3 becomes 112.00 and stage 4 becomes 82.00: both show −2.00, while stages 1 and 2 still match. The fix belongs in the tax field, not in the item rows.

A line discount is a common trap. If line B’s printed net of 42.50 already includes its discount, subtracting that discount again in stage 2 creates a new error. Document-level adjustments belong once in the bridge; repeating them beside each item multiplies their effect. For the detail, see how to separate a line discount from an invoice-level allowance.

Can a matching invoice total hide wrong line items?

Yes. Two errors in opposite directions cancel out in the sum:

LinePrinted netCopied netCopied − printed
A37.5027.50−10.00
C20.0030.00+10.00
Sum of all three lines100.00100.000.00

The bridge still starts at 100.00 and every stage matches, yet two purchases are wrong. The line check catches it: 3 × 12.50 = 37.50, not 27.50, and 1 × 20.00 = 20.00, not 30.00. A matching total is one control. It does not validate quantities, unit prices, descriptions or units, which is why invoice data validation line by line comes before the total.

When an offsetting error turns up, correct the affected rows with their source page, check similar rows on the other pages, then rebuild the bridge.

How is invoice reconciliation different from a three-way match?

Invoice reconciliation asks whether the invoice is internally consistent and agrees with what was already paid. A three-way match asks whether what is billed was ordered and received: quantity and price on each invoice line against the PO line and the goods receipt.

Run the internal bridge first. A three-way match on line amounts that do not add up to the invoice total compares the wrong numbers. Then match each confirmed line against its order line and receipt, especially when deliveries are partial.

What should you check before accepting the amount due?

  • Scope: one invoice, one invoice currency, every page of the line table, no spreadsheet filter on the line sum.
  • Rounding: accept a rounding stage only if the invoice prints it. With a printed rounding of +0.02, the amount due becomes 114.00 − 30.00 + 0.02 = 84.02. Do not invent a rounding line to close a gap; invoice rounding differences have their own checks.
  • Blank fields: a blank “amount paid” is missing information, not proof that nothing was paid. Report the stage as unverifiable rather than inserting zero.
  • Zero balance: a printed amount due of 0.00 is still a value to reconcile.
  • Unexplained differences: keep them with the stage, the amount and the PDF page. Do not add a balancing line to make the workbook agree.

This method checks the invoice as issued. It does not decide how the invoice is booked, whether the tax treatment is right or whether it has been paid since.

Keep the line table and the document totals on separate sheets, as in this invoice line items versus header fields layout. Before summing amounts copied from a PDF, check the decimal separators in Excel, and import item codes as text so that leading zeros in invoice item codes survive. A credit note (credit memo in US usage) follows the same bridge with negative effects: see how to sign credit note amounts in a spreadsheet. Plans for line extraction and review are on the pricing page.

FAQ

What are the steps of invoice reconciliation?

Check each line (quantity × unit price), sum the line net amounts, apply document charges and allowances, add tax, then subtract amounts already paid and add any printed rounding. Compare each stage with the invoice and record the difference.

Why doesn’t the sum of the line items match the invoice total?

Usually because of a document-level charge or discount, tax, a deposit, rounding, or a line missed or duplicated during copying. Find the first stage that differs and check that layer first.

Is invoice reconciliation the same as a 3-way match?

No. Invoice reconciliation checks the invoice’s own arithmetic and payments; a three-way match compares each invoice line with the purchase order and the goods receipt. Most AP teams need both.

How do you reconcile invoices in Excel?

Put one row per invoice line on a detail sheet and one row per invoice on a summary sheet with the four stages, printed values and differences. Link them by vendor and invoice number, never by amount alone.

Sources and further reading

Get started with InvoiceLineLab

Enter your work email to get access to InvoiceLineLab. No account or payment is created at this stage.

Submitting sends your email and visit context to our publisher’s infrastructure, named on the Privacy page. No account, payment or automatic email is triggered. Privacy.