Three-way match with partial deliveries

Three-way match in AP: check each invoice line against the PO and goods receipt, bill only received quantities, keep price and quantity exceptions apart.

See the PDF-to-Excel example

A three-way match compares three documents before a vendor invoice is paid: the purchase order (what was ordered, at what price), the goods receipt or receiving report (what actually arrived) and the invoice (what is billed). With partial deliveries, match each invoice line against the quantity received and still unbilled, not against the full order quantity, and record price and quantity differences as separate exceptions.

The match only makes sense on invoice lines whose amounts are already confirmed. Start with invoice reconciliation from line items to amount due, then compare the confirmed lines with the order and the receipts.

What is a three-way match in accounts payable?

It is an accounts payable (AP) control on purchase-order spending. HMRC’s procure-to-pay guidance describes the match between the PO and the invoice as a key control, and the three-way match as the version that adds the goods received note (GRN). Each document answers one question:

DocumentUS / UK nameQuestion it answers
Purchase order (PO)purchase orderWhat did we order, in which unit, at what agreed price?
Goods receiptreceiving report (US), goods received note, GRN (UK)What arrived, how much, and when?
Vendor (supplier) invoiceinvoiceWhat is the vendor billing for, at what price?

A two-way match compares only the PO and the invoice. It can confirm the price and that the quantity does not exceed the order, but not that the goods arrived. The three-way match adds the receipt, so a line billed before delivery shows up as an exception.

How do you do a three-way match line by line?

Use one row per invoice line and compare it with one order line and the receipts recorded up to a cut-off date. The synthetic example below is fictional; all quantities are pieces and all amounts are in US dollars.

Order PO-18, line 30: 10 pieces at 12.00 per piece, order value 120.00. A first receipt records 6 pieces. The first invoice bills 6 pieces for 72.00.

  1. Identify the order line. Keep vendor, PO number and order-line number together: “line 30” alone is not unique across orders.
  2. Check the unit. Compare pieces with pieces. A box and a piece are not the same unit unless the conversion is documented.
  3. Compute what can still be billed: received quantity − quantity already billed. Here 6 − 0 = 6.
  4. Compare the invoiced quantity with that available quantity: 6 − 6 = 0 pieces uncovered.
  5. Compare the unit price with the PO price: 72.00 ÷ 6 = 12.00, equal to the order price.
  6. Record the result with its status and cut-off date, then update the quantity billed to date.

Comparing this first invoice with the full order would wrongly report 4 missing pieces. They are not missing from the invoice; they have not been delivered.

InvoiceLineLab extracts invoice line items from PDF to Excel or CSV with description, quantity, unit price, net amount and source page on each row, so the invoice side of this match starts from one checkable row per line. See the synthetic example for the output columns.

How do you match an invoice to a partial delivery?

Keep two running balances per order line, not one. A second receipt adds 3 pieces, so 9 pieces have been received in total. Before the second invoice arrives:

Balance at the cut-off dateCalculationResult
Ordered, still unbilled10 ordered − 6 billed4 pieces
Received, still unbilled9 received − 6 billed3 pieces
Ordered, still undelivered10 ordered − 9 received1 piece

The three possible second invoices below are alternatives at the same cut-off date. Assess each on its own:

Second invoiceQuantity checkPrice checkOutcome
3 pieces, 36.003 − 3 available = 0 uncovered36.00 ÷ 3 = 12.00Matches; billed to date 9 pieces, 108.00
4 pieces, 48.004 − 3 available = 1 uncovered48.00 ÷ 4 = 12.00Quantity exception: 1 piece billed without a recorded receipt
3 pieces, 39.003 − 3 available = 0 uncovered39.00 ÷ 3 = 13.00Price exception: +1.00 per piece, +3.00 on the line

The 4-piece invoice brings cumulative billing to 10 pieces and 120.00, exactly the order value. That is why matching against the order total alone is weak: the order agrees, but one billed piece has no recorded receipt. A missing receipt entry or an agreed advance billing could explain it; neither can be inferred from the invoice.

What happens when price or quantity doesn’t match?

Keep the three tests separate: identity (right order line), quantity (covered by receipts) and price (equal to the agreed price). One line can fail one test and pass the others.

  • Quantity exception: billed quantity exceeds received-not-billed quantity. Ask for the delivery evidence; do not raise the receipt quantity to make the invoice pass.
  • Price exception: unit price differs from the PO price in force. Check the applicable order revision; do not change the PO price to match the invoice.
  • Identity exception: no order-line reference, or a reference that points to a different item. Propose a candidate match with your reasoning; never match on description alone.

A tolerance is an internal policy decision. HMRC’s guidance notes that manual overrides of system values should sit within tolerance limits and approval controls. Whatever the threshold, record the variance amount, not just “within tolerance”, so repeated small differences stay visible.

How do you allocate one invoice line across several receipts?

Use one allocation row per invoice-line-to-receipt pair, with the allocated quantity. If one invoice line bills 5 pieces covered by receipts of 2 and 3 pieces, the allocations are 2 + 3 = 5 and the line amount is stored once, on the invoice line. Copying the unchanged 5-piece line onto both receipt rows would count 10 billed pieces.

Check that allocations add up to the invoiced quantity before updating the balances. Returns, cancelled quantities and corrections need their own dated records before they change any balance; the example above assumes none. A credit note (credit memo) for returned goods follows the sign convention for negative credit amounts.

On structured invoices, the Peppol order-line reference identifies a position within the referenced order. Its presence links the invoice line to an order line; it does not prove a delivery. When a line has no product code at all, see how to handle invoice lines without a product code without inventing one.

What does a three-way match not prove?

A clean match shows that billed quantities are covered by recorded receipts and that prices agree with the order. It does not show that the goods were accepted as fit for use, that the receipt entry itself is right, or that the invoice should be paid now: payment approval stays with your own AP policy.

Before relying on a balance, gather the current order revision, the dated receipts and earlier invoices for the same order line. A receipt posted tomorrow cannot support today’s balance. A missing receipt quantity stays unknown, not zero. Check the unit and the unit of measure conversion between box and piece before subtracting quantities, and check that a reimported invoice is not counted twice with duplicate invoice detection. Match on item codes imported as text, so that Excel leading zeros in vendor item codes do not break the key, and keep order references on the line table rather than in the invoice header fields. For line-level checks against the PDF itself, see invoice data validation.

FAQ

What is the difference between a two-way and a 3-way match?

A two-way match compares the invoice with the purchase order (price and quantity ordered). A three-way match also compares it with the goods receipt, so it catches lines billed for goods that have not arrived.

What is a receiving report?

It is the US name for the record of goods actually received, with quantities and date. UK teams usually call it a goods received note (GRN).

Can you three-way match an invoice for a partial delivery?

Yes. Compare each invoice line with the quantity received but still unbilled on its order line, then update the billed-to-date balance after each invoice.

What tolerance should a three-way match use?

There is no universal figure: the tolerance is your organization’s policy. Record the actual price and quantity variance on every line so the decision can be reviewed.

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.