How a three-way match checks supplier invoices against the order and the receipt
Before you pay a supplier, a three-way match tests the invoice against your purchase order and goods receipt; here are the documents, steps, tolerances and records it needs.

Last reviewed: November 18, 2026
A three-way match is an accounts payable check: a supplier invoice is paid only when its price agrees with the purchase order and its quantity agrees with the goods receipt. When either differs by more than your tolerance, the invoice waits until someone resolves the difference.
What a three-way match compares
A three-way match (also written 3-way match) looks at three documents before a supplier invoice is paid: the purchase order, which records what you agreed to buy and at what price; the goods receipt, which records what actually arrived; and the invoice, which states what the supplier is charging. The invoice price is checked against the order, and the billed quantity against the quantity received. If both agree within the tolerance you have set, the invoice goes on to approval and payment.
In short: pay for what you ordered, at the agreed price, and only for what you received. One of the examples in Microsoft's Dynamics 365 Finance documentation describes the problem it addresses: invoices were being paid, but the process did not catch cases where fewer items arrived than were ordered, or nothing arrived at all. For most businesses the match is an internal control they design themselves: which purchases go through it, how much difference is acceptable and who resolves the exceptions.
The three documents and what each one proves
The control works because the three documents come from different people. The invoice is the supplier's claim. The order and the receipt are your own records, made by people other than the one who pays.
| Document | Who creates it | What it proves | What the match takes from it |
|---|---|---|---|
| Purchase order | Your buyer or purchasing team, before the purchase | What was agreed: items, quantities, prices and terms | Unit price, agreed charges and the order number that links the set |
| Goods receipt (goods received note, GRN, receiving report) | Your warehouse or whoever took delivery | What actually arrived, when, and in what condition | Quantity received per line, and the quantity accepted if goods are inspected |
| Supplier invoice | The supplier | What you are asked to pay | Billed price and quantity, charges, tax and the order reference |
Systems use different names for the same record. Microsoft Dynamics 365 calls the goods receipt a product receipt; many companies call it a GRN. What matters is that it is your own count. The delivery note that travels with the goods is the supplier's statement of what it shipped. A delivery note signed by the person who checked the goods, with any shortage or damage written on it, can serve as the receipt. An unsigned copy of the supplier's figures cannot, because it repeats the supplier's claim instead of testing it.
The order number is the key that ties the three documents together, so ask suppliers to quote it on every invoice and delivery note. E-invoices make this easier. Peppol BIS Billing 3.0, a usage specification of the European e-invoicing standard EN 16931, has dedicated fields for the purchase order reference (BT-13), the despatch advice reference (BT-16), the receiving advice reference (BT-15) and, on each invoice line, a reference to the purchase order line (BT-132). Its rule PEPPOL-EN16931-R003 requires either a buyer reference or a purchase order reference on every invoice, so the order number can still be missing when only the buyer reference is filled in.
Two-way, three-way and four-way matching
The number tells you how many documents are compared. Each level adds one check to the level before it.
- Two-way match: invoice against purchase order. It confirms that you are billed on the agreed terms, but not that anything arrived. In Oracle Payables, for example, two-way matching checks the quantity billed against the quantity ordered, and a price hold applies when the invoice unit price is higher than the order price (Oracle Payables Reference Guide, Release 12.1).
- Three-way match: adds the goods receipt. The quantity on the invoice is compared with the quantity received, as Microsoft's invoice matching overview describes.
- Four-way match: adds inspection. The billed quantity is compared with the quantity accepted after inspection, not only with the quantity that came through the door. Oracle Payables checks the accepted quantity only when inspection is required, and places a quality hold on the invoice when the billed quantity is higher than the accepted quantity.
You do not need the same level for every purchase. Microsoft's documentation shows matching policies set for a legal entity, a supplier, an item, or an item and supplier combination, and overridden on a single order line. In one of its examples, invoices are matched two-way by default and three-way for items used as fixed assets. In another, three-way matching applies to certain items from suppliers with a record of delivery problems.
Services are the awkward case, because nothing gets counted at the loading dock. Decide in advance what plays the role of the receipt: a confirmation from the person who used the service, a signed timesheet or an acceptance note for a finished piece of work. Without one, a service invoice can only get a two-way match.
How to run a three-way match, step by step
- Issue the order before the purchase. The purchase order, with its number, should exist before the supplier ships. An order raised after the invoice arrives will match that invoice perfectly and prove nothing.
- Record the receipt when the goods arrive. Count against the order line by line, note the date, who checked and any shortage or damage, and post the receipt as soon as the goods are checked. A receipt that is not posted makes a correct invoice look wrong: Microsoft's documentation includes a case where the person in receiving is interrupted and does not post the receipt, so the invoice lines that need a three-way match are flagged because no receipt is matched to them.
- Register the invoice. Capture the order reference and the lines, and check that the same invoice has not already been entered under another date or a slightly different number.
- Compare line by line. Unit price against the order. Billed quantity against the received quantity, counting earlier invoices on the same line. Unit of measure, because a box is not a piece. Charges such as freight, packaging or surcharges against what the order allows. Tax and currency.
- Apply your tolerances. Within tolerance, the invoice moves on to approval and payment. Outside it, the invoice is held as an exception.
- Resolve each exception with the person who knows the answer. Price questions go to the buyer, quantity questions to whoever received the goods. The outcome is a corrected invoice or a credit note from the supplier, an amended order with a recorded approval, or a wait until the rest of the delivery is received.
- Record the result. Note who approved a difference, when and why, and file that note with the three documents.
Tolerances deserve a deliberate choice. They can be a percentage, an amount or both. In an example in Microsoft's documentation, a 5 percent tolerance on the net unit price means that, against an order price of 1.00, an invoice price of 1.05 would pass and 1.10 would not. A percentage on its own lets a large absolute difference through on a large order line, and an amount on its own lets a large relative difference through on a cheap item. When both are set for Microsoft's price totals check, a line that exceeds either one is a discrepancy, and the total counts invoices already posted against the same order line.
Decide also whether a lower figure should stop the invoice. Oracle Payables places a matching hold only when the invoice quantity or price is higher than the order or the receipt by more than the tolerance. An invoice below the order passes, which is often what you want, but a much lower price can also mean the supplier billed a different item.
The page on incoming supplier invoices shows this job step by step.
A worked example: a short delivery at a new price
Take a typical case. A purchase order covers a full shipment of a stock item at an agreed unit price. The supplier ships part of the order, invoices all of it on the day of dispatch, and uses the unit price from its new price list. The warehouse counts what arrived and posts the receipt.
The match flags two problems on the same line. The billed quantity is higher than the received quantity, and the unit price is above the order price by more than the tolerance. The invoice is held. The person who received the goods confirms the shortfall, and the buyer checks whether anyone agreed to the new price.
From there, the outcome depends on the facts. If the price was never agreed, the supplier is asked for a credit note or a corrected invoice. If it was agreed by email and the order was never updated, the buyer amends the order and the approval is recorded, so the next invoice does not raise the same exception. For the missing goods, you either ask the supplier to credit them or keep the invoice on hold until the rest arrives and is received. Microsoft's documentation describes the same choices in system terms: save the invoice until the difference is approved or a correction arrives from the supplier, match it later to another receipt, or change the invoiced quantity to the quantity received.
The file then holds the order and its amendment, the receipts, the invoice, any credit note and a note of who decided what. That set answers the question someone will ask a year later: why was this invoice paid in this amount?
Common mistakes that weaken the control
- Orders raised after the invoice. The match passes by construction. If this happens often, the problem sits in purchasing discipline, not in accounts payable.
- Receipts copied from paperwork instead of counted. If the receipt is typed from the delivery note or the invoice, the match compares the supplier with itself.
- One person orders, receives and approves. The three documents then come from one desk. The explanatory notes on the EU invoicing rules give segregation of duties as an example of an internal control that helps make an audit trail reliable.
- Checking each invoice on its own. If the match ignores earlier invoices on the same order line, a second invoice for the same delivery can pass.
- Charges nobody agreed. Freight, packaging and small surcharges often appear only on the invoice. In Microsoft Dynamics 365, charges matching is a separate check with its own setting, and it runs only for charge codes marked for comparison.
- Widening tolerances to clear the queue. When exceptions pile up, look for the cause first: order prices that were never updated, receipts posted late, units of measure that differ. A wider tolerance hides the cause instead of fixing it.
- Treating the match as fraud protection. A three-way match does not tell you whether the order price was a good price, whether the supplier's bank details changed, or anything about invoices with no order behind them. Those need their own checks.
What to keep on file
Keep the full set together, linked by the order number:
- the purchase order and every amendment to it
- the goods receipt or the signed delivery note, and the inspection record if you run a four-way match
- the invoice and any credit notes or corrected invoices
- the match result and the exception notes: what differed, who approved it, when and why
- the payment record
In the EU there is also a VAT angle. The VAT Directive requires the authenticity of origin, the integrity of content and the legibility of an invoice to be ensured from issue until the end of its storage period, and lets each business decide how. One way it names is "business controls which create a reliable audit trail between an invoice and a supply of goods or services" (Article 233(1) of Directive 2006/112/EC, in the wording introduced by Directive 2010/45/EU).
The explanatory notes on the VAT invoicing rules, issued by the European Commission's tax department (DG TAXUD) as informal guidance that is not legally binding, give the matching of supporting documents as an example of such a control. For the customer, they suggest matching the invoice with the approved purchase order, the delivery note, the payment and the remittance advice. Their example of a reliable audit trail is a purchase order, transport documents and the invoice itself, "with the trace of the matching of those documents or even the mere fact that the three documents actually match". The notes also say that keeping a record of these checks is not a VAT requirement. Keeping it anyway shows that the control actually ran.
How long to keep the set is a national question. Article 247(1) of the same Directive leaves the storage period for invoices to each Member State, and accounting rules for the other documents differ from country to country. A practical rule is to keep the order, the receipt and the match record for at least as long as the invoice they support.
Questions people ask
What is the difference between a two-way, three-way and four-way match?
A two-way match compares the invoice with the purchase order, a three-way match adds the goods receipt, and a four-way match adds the quantity accepted after inspection. Each level adds one document to the check.
Can a signed delivery note serve as the goods receipt?
Yes, when the person who checked the goods signed it and wrote any shortage or damage on it. An unsigned copy of the supplier's figures cannot, because it repeats the supplier's claim instead of testing it.
How do you run a three-way match for services?
Decide in advance what plays the role of the receipt: a confirmation from the person who used the service, a signed timesheet or an acceptance note for finished work. Without one, a service invoice can only get a two-way match.
Should matching tolerances be a percentage or an amount?
Both, if your system allows it. A percentage alone lets a large absolute difference through on a big order line, and an amount alone lets a large relative difference through on a cheap item. In price totals matching in Microsoft Dynamics 365, a line that exceeds either limit is a discrepancy.
What does EU VAT law say about matching invoices?
It lets each business choose how to ensure the authenticity, integrity and legibility of its invoices, and names business controls with a reliable audit trail as one way (Article 233(1) of the VAT Directive). The non-binding explanatory notes of the Commission's tax department (DG TAXUD) give matching of supporting documents as an example and say that keeping a record of the checks is not a VAT requirement.
How long should the matched documents be kept?
Keep them at least as long as the invoice they support. The EU VAT Directive leaves the storage period for invoices to each Member State (Article 247(1)), so the period depends on the country.
Sources
- EUR-Lex: Council Directive 2006/112/EC on the common system of VAT, consolidated text of 14 April 2025 (Articles 233 and 247) checked
- EUR-Lex: Council Directive 2010/45/EU amending Directive 2006/112/EC as regards the rules on invoicing checked
- European Commission, DG TAXUD: Explanatory notes on VAT invoicing rules (Council Directive 2010/45/EU) checked
- OpenPeppol: Peppol BIS Billing 3.0 checked
- OpenPeppol: Peppol BIS Billing 3.0, cac:OrderReference/cbc:ID (BT-13, rule PEPPOL-EN16931-R003) checked
- OpenPeppol: Peppol BIS Billing 3.0, cac:ReceiptDocumentReference/cbc:ID (BT-15) checked
- OpenPeppol: Peppol BIS Billing 3.0, cac:DespatchDocumentReference/cbc:ID (BT-16) checked
- OpenPeppol: Peppol BIS Billing 3.0, cac:InvoiceLine/cac:OrderLineReference/cbc:LineID (BT-132) checked
- Microsoft Learn: Accounts payable invoice matching overview (Dynamics 365 Finance) checked
- Microsoft Learn: Three-way matching policies (Dynamics 365 Finance) checked
- Oracle: Purchase Order Matching Database Tables, Oracle Payables Reference Guide, Release 12.1 checked


