1. Home
  2. Guides
  3. Matching supplier invoices to purchase orders in a small firm

Matching supplier invoices to purchase orders in a small firm

Two-way or three-way, what tolerance to allow, and what to do with part deliveries, unit mismatches and supplier item codes. A practical guide for firms on Xero, QuickBooks or Sage.

“It will be easy to see if trade/supplier invoiced more than our purchase order (agreed price).” That’s how one Xero user described what they wanted from linking bills to orders. Matching invoices to purchase orders catches the errors that cost real money: billed for 100 when 80 arrived, charged last year’s price, billed twice for one delivery. Large firms do it in their ERP. A 20-person wholesaler or contractor usually does it by eye, with the order printed out beside the invoice. This guide covers how to set the rules so it can be done the same way every time, by a person or an automation.

Two-way or three-way

Two-way matching checks the invoice against the purchase order: same supplier, same items, quantities no more than ordered, prices as agreed.

Three-way matching adds the goods received record: the delivery note or goods-in entry. You pay for what arrived, at the price you agreed, and no more.

Which one you need depends on where the risk is. If you buy services, or the supplier delivers straight to a customer, two-way is often all you can do. If you hold stock or take deliveries at a yard, three-way catches short deliveries and damaged goods that two-way misses.

Write down which you use today, for which suppliers, and where each record lives. In small firms the order is often in the ledger, the delivery note is a signed sheet in a tray, and the match happens in someone’s head.

Where the records live

Xero has purchase orders. You can number them your own way, email or print them, and once an order is approved turn it into a bill. The catch is the other direction: a bill that arrives by email or capture can’t be linked to a purchase order you already raised. That request has 66 votes on Xero’s ideas forum and has been open since 2023 (“All our bills have to be linked to the PO’s”, one user wrote in April 2026). Users also report that the purchase order number lands in the bill’s reference field rather than on each line, and that attachments on the order don’t carry across. For three-way matching, check where your delivery records live. If they aren’t in Xero, they’ll need to come from your stock system, a goods-in sheet or the signed delivery notes.

QuickBooks Online has purchase orders only on Plus and Advanced, and they have to be switched on in Account and settings, under Expenses.

Sage varies by product and edition. Check whether yours holds purchase orders at all, and if your orders and goods-in live in a separate stock or job system, that system is where the match data comes from.

Whatever you use, the match needs the order lines with item, quantity and price, and, for three-way, the quantity actually received.

Set the tolerances before you match

A match rule that demands exact equality fails on half your invoices for reasons nobody cares about. A rule with no limits catches nothing. Agree these in writing:

  • Price tolerance. For example, unit price within 2% or £5 a line, whichever is lower. Above that, someone checks.
  • Quantity rule. Invoiced quantity no more than ordered (two-way) or received (three-way). Less is a part delivery, which is fine if the order stays open for the rest.
  • Delivery and fuel charges. Decide whether they need to be on the order. Many firms allow them up to a fixed amount without an order line.
  • Rounding. Per-line VAT rounding can differ from your ledger’s by a penny or two. Allow it.

The four things that break matching

Part deliveries. An order for 400 metres of cable arrives in three loads and is invoiced three times. Each invoice must match against what’s left on the order, not the original quantity, or the third invoice looks like an overcharge and the first two look short.

Units. The order says 80 bags of cement. The supplier counts in pallets of 40, so the delivery note says 2. The quantities match once you know the conversion. Keep a unit table per supplier for anything that isn’t counted the same way on both sides.

Item codes. Your order says “HXB-M12-080”. Their invoice says “HB12-80”. A person who has done this for years knows they’re the same. A new member of staff, or an automation, doesn’t. Keep a list of supplier codes against your codes, add to it every time a new one is confirmed, and treat any code not on the list as a question, never a guess.

Orders that don’t exist. Someone rang the order through and never raised a PO. Decide now whether those invoices are allowed through with a manager’s approval, or bounced back to whoever ordered.

What to do when a line doesn’t match

Every mismatch should come out as a specific question, with the evidence beside it:

  • “Line 4, cement 25kg: invoice says 80, delivery note says 2 pallets (80 bags at 40 a pallet). Matches after conversion.”
  • “Line 7, copper pipe: invoiced £14.20 a length, order says £12.80. 10.9% over tolerance.”
  • “Line 9: supplier code HB12-80 not on your list. Closest: HXB-M12-080.”

A person answers it once. The answer is kept: the unit conversion goes in the table, the code goes in the list, the price change goes back to whoever agreed the price. The next invoice from that supplier has one fewer question.

The fraud check that belongs here

Matching protects you from wrong amounts. It doesn’t protect you from paying the right amount to the wrong account. Any invoice with bank details that differ from the ones you hold should stop, go to a named person, and be checked by phoning the supplier on a number you already have. UK police guidance on mandate fraud says exactly this.

Automating it

An automation can do the reading, the lookups and the arithmetic: pull the order lines, apply the tolerances, convert units, map codes, and produce the questions above. It should never approve its own exceptions. The pattern I build is that each invoice is read and matched, anything inside the rules is prepared for a person to approve in one click, and everything else waits with the reason written out.

As an AI engineer I’ve built an invoice entry agent that codes every line the way that supplier was coded before and shows the invoice beside the coding for a person to approve. Matching against open orders is the same idea with one more record on the screen.

Before you change anything

Pull ten invoices from last month that took the longest to match. For each, note which rule caught it, or would have: price, quantity, unit, code, missing order. If most of them are units and codes, a supplier code list and a unit table will save more time than any software.

The free check runs 10 of your own supplier invoices into draft entries with you on a 20-minute call, including the order match if you send the POs. It’s free for three firms. See the free check, or work through the 12 checks before you automate your purchase ledger.

Sources

General guidance, not accounting advice. The examples use made-up suppliers and numbers. Checked on 28 November 2026.

Book a 20-minute call

Bring one example of the work. I’ll tell you whether it fits, and you get a fixed quote in writing before you pay anything.

Also from Kildrum Labs Documents into your system Shop payouts matched to your books Connect your tools Claude on your systems How we work Guides

Booking opens soon