It is the main control that stops companies paying for goods they never received, or paying more than they agreed. It is also the evidence auditors and tax authorities look for when they ask whether a purchase was real.
This guide explains what is matched, how to set tolerances, and works through an invoice with a short delivery and a price difference. It covers what to do when a match fails, why matching matters for VAT in the UAE and Saudi Arabia, a set-up checklist and an FAQ.
What is three-way matching, and how is it different from two-way and four-way?
The number refers to how many documents are compared before an invoice can be paid.
| Method | Documents compared | Used for |
|---|---|---|
| Two-way | Purchase order and invoice | Services and low-value items where there is no physical receipt, often with a service confirmation |
| Three-way | Purchase order, goods receipt and invoice | Stock and goods bought for resale, production or projects |
| Four-way | Purchase order, goods receipt, quality inspection and invoice | Goods that must pass inspection before they are accepted, such as raw materials, food or spare parts |
Three-way matching answers three questions for every invoice line:
- Did we order it? There is an approved purchase order line for this item from this supplier.
- Did we receive it? The goods receipt shows the quantity delivered and accepted.
- Is the bill right? The invoice quantity is not more than the accepted quantity, and the invoice price is the order price.
If the answer to all three is yes, nobody needs to look at the invoice. Accounts payable staff then spend their time on the exceptions instead of ticking every line.
For services, replace the goods receipt with a service confirmation from the person who received the service: a completed job card, a timesheet signed off, or a monthly confirmation for a maintenance contract.
What exactly should be checked?
Check at line level, not only invoice totals. Totals can agree while individual lines are wrong in opposite directions.
| Check | Against | A typical rule |
|---|---|---|
| Supplier and TRN | Supplier master and purchase order | Same supplier, valid tax registration number |
| Purchase order reference | Open purchase order | Invoice must quote an approved, open order |
| Item | Order line | Same item code or description |
| Quantity | Goods receipt | Invoiced quantity not more than accepted quantity |
| Unit price | Order line | Within the price tolerance |
| Discounts and charges | Purchase order terms | Only charges agreed on the order, such as freight |
| VAT | Rate and tax treatment for the item | 5% in the UAE, 15% in Saudi Arabia, unless zero-rated or exempt |
| Totals and currency | Invoice lines | Sum of lines plus VAT equals the invoice total |
| Duplicate | Earlier invoices | Same supplier, invoice number and amount not already booked |
The duplicate check catches more money than most companies expect. The same invoice arrives by email, by courier and again with the statement, and each copy looks genuine.
How do you set matching tolerances?
A tolerance is the difference you accept without review. Without one, every rounding difference stops an invoice. With one that is too wide, small overcharges pass every time.
Set three tolerances:
- Price: the lower of a percentage and an amount per line, for example 1% or AED 50. The amount stops a 1% tolerance letting large overcharges through on big lines.
- Quantity: usually zero for over-billing. You should never pay for more than you accepted. Billing for less than received is fine; the rest will follow.
- Invoice total: a small amount, such as AED 5, to absorb rounding between the supplier's system and yours.
Agree price changes on the purchase order, not on the invoice. If a supplier raises prices, the buyer amends the order and it goes back through approval. The invoice then matches the amended order.
Report tolerance use monthly. If one supplier's invoices sit at the edge of the tolerance every time, the tolerance has become their price increase.
What does a three-way match look like? A worked example
A Sharjah trading company orders three items from a local supplier. All amounts are in AED, before VAT unless stated. The company's tolerances are price within the lower of 1% or AED 50 per line, and no quantity over-billing.
| Line | Ordered | PO price | Received and accepted | Invoiced quantity | Invoice price | Invoice value | Result |
|---|---|---|---|---|---|---|---|
| A: Cable trays | 500 | 42.00 | 500 | 500 | 42.00 | 21,000.00 | Match |
| B: Distribution boards | 200 | 85.00 | 180 | 200 | 85.00 | 17,000.00 | Quantity fail: 20 not received |
| C: Cable glands | 1,000 | 6.50 | 988 (12 rejected as damaged) | 1,000 | 6.75 | 6,750.00 | Quantity and price fail |
| Total | 44,750.00 |
The invoice total is AED 44,750 plus AED 2,237.50 VAT, so AED 46,987.50. The purchase order was for AED 44,500 plus AED 2,225 VAT.
Line C's price is AED 0.25 higher per unit, a 3.8% difference worth AED 250 on the invoiced quantity. That is above both the 1% and the AED 50 limits, so it fails.
What the system approves:
| Line | Approved | Calculation | Held |
|---|---|---|---|
| A | 21,000.00 | 500 × 42.00 | 0.00 |
| B | 15,300.00 | 180 × 85.00 | 1,700.00 |
| C | 6,422.00 | 988 × 6.50 | 328.00 |
| Total | 42,722.00 | 2,028.00 |
The matched amount is AED 42,722, or AED 44,858.10 with VAT. The held amount is AED 2,028, or AED 2,129.40 with VAT.
How the differences are resolved. The buyer contacts the supplier. The 20 distribution boards arrive the next week, are received against the same order, and line B's held AED 1,700 is released automatically. The supplier accepts that the price increase on cable glands was never agreed and issues a credit note for the 12 rejected units and the price difference: AED 328 plus AED 16.40 VAT. The credit note references the original invoice, and the input VAT claimed is reduced by AED 16.40.
Without the match, the company would have paid AED 2,129.40 more than it owed, on one invoice.
What should you do when a match fails?
Send each type of exception to the person who can fix it, with a deadline.
| Exception | Usual cause | Who resolves it | Typical outcome |
|---|---|---|---|
| Invoiced more than received | Short delivery or partial shipment | Stores and buyer | Wait for the balance, or ask for a credit note |
| Price higher than order | Supplier price rise not agreed, or order not updated | Buyer | Credit note, or amended order through approval |
| Goods rejected at inspection | Damage, wrong item, quality failure | Quality and buyer | Return to supplier and credit note |
| Invoice before goods receipt | Supplier invoices at dispatch | Stores | Hold until goods are received |
| No purchase order | Purchase made outside the process | Requester and their manager | Retrospective approval, recorded as a policy breach |
The last line matters most. Invoices with no purchase order cannot be matched, and they are where unauthorised spending hides. Set a rule: no purchase order, no payment, except for categories such as utilities that are agreed in advance.
Why does three-way matching matter for VAT?
In both countries, input VAT is recovered on the strength of a valid tax invoice. Matching adds evidence that the supply behind that invoice was real.
UAE. Checking that a supplier's TRN and invoice details are valid before booking the invoice is good VAT practice. The approved order, the goods receipt and the matched invoice are part of the evidence trail that shows a genuine supply at an agreed price.
Saudi Arabia. A customer should hold a valid tax invoice to deduct input VAT, and a supply that stays unpaid for a long time can mean the deduction has to be adjusted. Invoices held in a matching dispute for months need watching for that reason.
What should you check before switching matching on?
What does HYP see in accounts payable teams?
At trading companies, contractors and manufacturers across the Gulf, our implementation team often finds that matching happens, but on paper. An accountant checks a printed invoice against a printed order, phones the warehouse to ask whether the goods came, and ticks the invoice. It works at 50 invoices a month and breaks at 500. Goods receipts are often entered days after delivery, so invoices sit in a drawer waiting for them.
The teams that do this well have changed two habits. Stores record receipts in the system on the day goods arrive, and buyers fix the purchase order when a price changes, before the invoice comes in. With those two habits, most invoices match without anyone touching them.
In HYP, purchase requisitions, RFQs and purchase orders flow into goods receipts and supplier invoices in the same system, so invoices are matched against the order and the receipt line by line, and differences are held for review before payment.
Related reading: Purchase Approval Limits by Amount and Department: How to Set Them Up, and Supplier Evaluation: Scoring Vendors on Price, Delivery and Quality.