Parallaxe · Purchasing & sales
The three-way match, explained from a single invoice
Before paying a supplier, a careful company checks three documents: what it ordered, what it received, and what it is being billed. That is the whole three-way match. The rule fits in one sentence; its consequences fill this article. We will follow a single invoice, step by step, from purchase order to payment.
Reading: 18 min
The running example — the invoice that follows us through the article
A company orders 500 parts at €8.00 each — a firm price, negotiated for the year. All 500 parts arrive, compliant. Then the invoice lands: 500 parts at €8.40 — €4,200 instead of €4,000. A quiet €200 gap. Repeated across every line from this supplier, it would cost roughly €24,000 per month. The question of this article: would your organisation — and your Odoo — catch those €200?
Features described are based on the current Odoo generation (17–19); every setting must be re-validated on the target version. Some building blocks require Odoo Enterprise (invoice digitisation, payment approvals), others come from community (OCA) modules.
Three reading levels — stop whenever you have what you need
- Understand
Level 1 · ~7 min
For everyone. The three documents, what gets checked, and why it protects the company. No prerequisites.
- Master
Level 2 · ~10 min
For finance leadership and the team that pays the bills: discrepancies, tolerances, and what it all writes in the books.
- Implement on Odoo
Level 3 · ~10 min
For whoever designs the system: what Odoo really does, the trap in the standard flow, and the architecture that fixes it.
Level 1 · Chapter 1
Three documents, two questions
When a company buys, three documents follow one another. Each tells part of the story — and none is enough on its own.
- 01The purchase order — “what we promised to buy”
The company places the order: the reference, the quantity and above all the agreed price. It is the document of commitment — the written promise on both sides.
Our invoice · 500 parts × €8.00 · 4 000 € · Firm price from the annual contract
- 02The receipt — “what actually arrived”
At delivery, someone counts what enters the warehouse and writes it down. It is the document of reality: not what was planned — what arrived.
Our invoice · 500 parts received · compliant · Counted on arrival, nothing to report
- 03The invoice — “what the supplier claims”
The supplier sends its payment request. It is the document of the claim — and nothing guarantees it matches the first two.
Our invoice · 500 parts × €8.40 · 4 200 € · + €200 versus the agreed price
Question 1 — Did we receive what we’re billed for? Yes: 500 = 500
Question 2 — At the agreed price? No: €8.40 > €8.00
The whole three-way match boils down to these two questions. Quantity: never pay for more than you received. Price: never pay more than what was agreed. Our running invoice passes the first question and fails the second — exactly the case many systems let through, as we’ll see at level 3.
| Document | Our invoice | |
|---|---|---|
| Ordered | Purchase order | 500 × 8,00 € · 4 000 € |
| Received | Receipt | 500 parts · compliant |
| Claimed | Vendor bill | 500 × 8,40 € · 4 200 € |
Level 1 · Chapter 2
What the check prevents
Nobody sets up this control for the joy of comparing paperwork. It exists to stop five very real ways of losing money:
- Paying for what never arrived
An order half delivered, billed in full. Without checking against the receipt, nothing stands in the way.
- Paying more than agreed — the sneakiest
A few extra cents per part go unseen, repeat on every line and add up over the year. That’s our running example — and Odoo’s blind spot (chapter 6).
- Paying the same invoice twice
The invoice arrives by e-mail, then by post; or a supplier chases an invoice already paid. Common wherever controls are weak.
- The fake invoice
Invented or inflated invoices. The control doesn’t stop every fraud, but an invoice with no order and no receipt behind it does not get through.
- The VAT or account error
Not an overpayment, but distorted books — and a risk if the tax authorities come knocking.
Do you always need three documents?
No — and it is a real decision, not a default setting. A software subscription has no delivery to count: requiring a receipt would block everything. Stocked goods, on the other hand, deserve all three documents. The right level depends on what you buy:
- 2 documents
Order + invoice. For services and subscriptions — nothing physical to count.
- 3 documents — our topic
+ the receipt. For physical goods, stocked or consumed.
- 4 documents
+ quality control. When you should only pay for what passes inspection: pharma, food, critical industry.
- + contract · the price lives elsewhere
Under an annual contract, the true price lives in the contract — the order itself can be wrong. More in chapter 3.
End of level 1 — you can stop here
Before paying, compare order, receipt and invoice.
Two questions: did we receive what we’re billed for, and at the agreed price?
The costliest risk is the quietest: the small, repeated price gap.
What follows gets into the craft: discrepancies, tolerances, accounting — then Odoo.
Level 2 · Chapter 3
Each question has its own reference
The point almost everyone wrongly simplifies: the two questions are not checked against the same document. The billed quantity is compared with what was received. The billed price is compared with what was agreed — and “agreed” does not always mean “the purchase order”.
- Quantity axis
“Never pay for more than you received”
Invoice: 500 parts → compared with → Receipt: 500 parts
Received 60 of 100? An invoice for 60 is legitimate; the rest waits until delivered. Watch the units too: ordering in boxes and being billed per unit can multiply an error by 100.
- Price axis
“Never pay more than what was agreed”
Invoice: €8.40 → compared with → Order — or contract: €8.00
The most profitable and most neglected axis: a missing quantity is visible (boxes are missing), an inflated price is not. Forgotten rebates, added freight charges, unannounced increases: it all comes through here.
- The annual-contract trap
Our company negotiated €8.00 in an annual contract. If someone mistakenly creates a purchase order at €8.40 and the supplier bills €8.40: the invoice ↔ order comparison is perfectly green… and the overpayment perfectly real. For contracted purchases, the order itself must also be checked against the contract, upstream.
- Two subtleties that avoid false alarms
Currency: a purchase in dollars is checked in dollars. $10 ordered, $10 billed = no price gap, even if the exchange rate moved in between — that difference is a currency gain or loss, a separate topic. VAT: an invoice without VAT is not necessarily wrong — buying from a supplier in another EU country, the buyer self-assesses the VAT. The right question is not “is there VAT?” but “is this the expected regime for this supplier and this type of purchase?”
Level 2 · Chapter 4
Tolerances — how far to look away
Blocking every invoice over a single cent would drown the team in alerts — and a control that cries wolf ends up ignored. So we define a tolerance: below a threshold, the gap is accepted automatically. It is the most important setting of the whole system, and the most often botched. Try three settings on a real case:
The case: the silent 1.8% increase
A supplier quietly raises all its prices by 1.8%, without notice. It bills €400,000 a month, across thousands of small lines. Which tolerance setting catches the drift?
- Setting A — 3% tolerance
- Setting B — max €50 per line
- Setting C — track the total
Show what each setting givesHide the answer
Answer
Setting A — 3% tolerance. Everything gets through. €86,400 lost over the year, invisibly. 1.8% sits below the 3% threshold: every line is approved automatically, “within tolerance”. The overpayment is €7,200 a month — and nobody sees a thing, since each line, taken alone, is acceptable.
Overpayment accumulated over 12 months · 86 400 €
Setting B — max €50 per line. Still nothing. The euro threshold doesn’t help either. On an average €500 line, 1.8% is €9 — far below €50. Every line still passes. A well-designed threshold combines both (“under 2% and under €200”)… but no per-line threshold, however clever, will catch a diffuse drift.
Gap per line: €9 — threshold: €50 · accepted everywhere
Setting C — track the total. Caught — not by blocking, by adding up. Each line remains accepted, but the dashboard adds up the accepted gaps per supplier: €7,200 this month for this supplier. The alert comes from the total, not from any line. That is the chapter’s lesson: slow drift only shows in the aggregate.
Accepted gaps this month — supplier A · €7,200 → alert
Three rules for a well-designed tolerance
- Asymmetric.
An invoice cheaper than expected is no risk: accept it generously. A more expensive one must block much sooner. Treating both directions the same is the most common mistake.
- Per supplier and per category.
A supplier under a negotiated contract deserves zero price tolerance. Bulk goods weighed at delivery deserve a loose quantity tolerance — +4% on bulk is normal, +4% on counted parts is suspicious.
- Set by a third party.
If the buyer sets the tolerance for their own supplier, the control is hollowed out. Tolerance configuration is a separate role, approved by finance leadership.
And unblocking time is money.
Many suppliers grant a discount for early payment (e.g. 2% if paid within 10 days). An invoice stuck three weeks in an exception queue mechanically loses that discount. A control that blocks too much and resolves too slowly costs money — the balance between control and flow is the real success criterion.
Level 2 · Chapter 5
What it writes in the books
The match does not end with “pay / don’t pay”: it produces journal entries. Between the day the goods arrive and the day the invoice arrives, something happens in the books — let’s follow our running invoice, step by step.
Day 1 — the goods arrive, the invoice doesn’t
Inventory comes in at its agreed value (500 × €8.00). On the other side, the exact debt isn’t known yet: it goes to a holding account — a “provisional debt” to the supplier. Big systems call it GR/IR; Odoo calls it the “stock interim account”: same idea.
| Account | Debit | Credit |
|---|---|---|
| Inventory | 4 000,00 | |
| Holding account (provisional debt) | 4 000,00 |
Day 18 — the invoice arrives: €4,200
The holding account empties, and the debt to the supplier becomes real — at the billed amount. One question remains: where do the €200 go?
| Account | Debit | Credit |
|---|---|---|
| Holding account (cleared) | 4 000,00 | |
| The €200 gap — to be allocated (step 3) | 200,00 | |
| Supplier (real debt, excl. VAT) | 4 200,00 |
The €200 — inventory or expense? Depends on what’s left
If the company values its inventory at the cost actually paid, the gap corrects the value… of the parts still in stock only. Meanwhile, 300 parts have already been sold: their share of the gap goes to cost of sales. (Under “standard cost”, another method, the whole gap would go to a dedicated purchase price variance account.)
- 200 parts still in stock
200 × €0.40 = €80 → inventory value corrected
- 300 parts already sold
300 × €0.40 = €120 → to cost of sales for the period
A system that cannot make this split puts everything in one place — and distorts either the inventory value or the P&L. It is an ERP selection criterion nobody tests before buying.
The holding account, the process’s thermometer
The balance of this holding account means something very concrete: it is the value of everything received that nobody has invoiced us for yet. At every close, review it by age — a balance ageing without explanation is the symptom of a sick process:
Without this review, those €186,000 remain a balance line nobody looks at — until an auditor asks the question.
| Age | Balance | Diagnosis |
|---|---|---|
| < 30 days | 142 000 € | normal, current cycle |
| 30–60 days | 31 000 € | chase suppliers |
| 60–90 days | 9 000 € | abnormal, investigate |
| > 90 days | 4 000 € | write off, documented decision |
The control you can’t code: separating roles
One last safeguard before Odoo. Imagine one person creating a supplier, issuing the order, recording a fictitious receipt, entering the invoice and approving it: all three documents match perfectly — they were made by the same hand. No matching detects this fraud; only role separation makes it impossible. Creating the supplier (and its bank details), ordering, receiving, entering the invoice, approving payment, executing it — and setting tolerances: seven roles, distinct people. The last one is the most often forgotten.
End of level 2 — the business essentials
Quantity is checked against the receipt, price against what was agreed — order or contract.
Tolerances are asymmetric, per supplier, set by a third party — and slow drift only shows in the aggregate.
Matching produces journal entries: a holding account to review by age, and a price gap to split between remaining stock and parts already sold.
Three documents made by the same hand always match: role separation is the only rampart against internal fraud.
What follows is for whoever builds all of this in Odoo.
Level 3 · Chapter 6 — over to the architect
What Odoo calls “3-way matching”
Odoo offers an option called 3-way matching in the Purchase settings. Once enabled, every bill carries a “Should Be Paid” field comparing billed quantity with received quantity. Two huge limits to know before ticking the box:
- It flags, it doesn’t block
The field shows Yes, No or Exception — and that’s it. No error message, no barrier: a user can see “Exception” and register the payment unhindered. Odoo’s documentation owns it: the system notices the discrepancy, it does not prevent it.
It is a traffic light, not a gate. A control that prevents nothing is a suggestion.
- It never looks at the price
The calculation covers quantity only. 100 parts ordered at €10, received, billed as 100 parts at €15: quantity compliant, field says “Yes”, a 50% overpayment without the slightest flag.
The native control is blind exactly where the risk costs most: the price axis.
Yet the native foundation is richer than people say
To be fair: Odoo links the three documents line by line (the purchase_line_id field), handles partial deliveries, prevents billing with no receipt at all, has the chapter 5 holding account, can roll freight into inventory cost (landed costs), manages annual purchase agreements, digitises incoming invoices (Enterprise) — and has a payment block at journal-line level, little known and decisive for what follows. What’s missing isn’t the foundation: it’s the active control layer on top.
Level 3 · Chapter 7 — the most important point of the article
The trap: the gap that disappears
That Odoo doesn’t check the price is already troubling. What follows is worse: in its most natural flow, Odoo makes the price gap disappear. Walk through both journeys with our running invoice — the standard flow, then the corrected one.
Journey 1 — Odoo’s standard flow
- 01The paper invoice arrives: 500 × €8.40
The supplier claims €4,200. The accountant opens the purchase order in Odoo to create the matching bill — the most natural gesture in the world.
Paper document · 500 × 8,40 € · 4 200 €
- 02Click “Create Bill” — Odoo pre-fills
Odoo copies the received quantities… and the purchase-order price: €8.00. Not €8.40. The bill on screen already no longer matches the paper document.
Bill on screen · 500 × 8,00 € · 4 000 € · The real price was never entered
- 03One-click validation — everything is green
Billed quantity = received quantity: the “Should Be Paid” field shows Yes. The bill is posted at €4,000. No alert — in the system there is literally no discrepancy.
Should Be Paid · Yes ✓ · Debt recorded: €4,000
- 04The gap never existed — and the payment goes out at €4,200
The real €8.40 price was never recorded: no audit will ever find the gap — the data was destroyed at entry. The payment, though, goes out at the paper amount: €4,200. The €200 difference resurfaces weeks later, at bank reconciliation, with no identifiable cause.
Outcome ·
Gap detected: no
Gap recorded: no
Traceable afterwards: no
The smoother the flow — one-click validation from the order — the weaker the price control. This is not a configuration flaw: it is the very design of the standard flow.
Journey 2 — the corrected flow
- 01The invoice enters through digitisation
The supplier’s document is digitised (or received electronically): 500 × €8.40. The price actually claimed enters the system as is — that is the whole difference. The bill is never created from the purchase order.
Captured bill · 500 × 8,40 € · 4 200 € · The real price is preserved
- 02Linked to the order
The captured bill is linked to the purchase order, line by line. This link is the absolute prerequisite: without it, no automatic comparison is possible, whatever gets developed.
Link established · Bill line ↔ order line ·
purchase_line_id - 03The control compares — and finds the gap
Quantity: 500 = 500, compliant. Price: €8.40 versus €8.00 agreed in the contract — a +5% gap, zero tolerance on this supplier. The gap exists, it is measured, it is traced.
Price gap · +€0.40 / part · +5% · Out of tolerance → block
- 04Posted, but not payable
The bill is posted in the books at €4,200 — the debt is true, the accounts are right. But a payment block is set on the line: no payment can go out. A task is assigned to the buyer; the block is only lifted by resolution or by a justified, traced override.
Outcome ·
Debt right: yes, €4,200
Payment: blocked
Gap traced: yes, +5%
Across all of this supplier’s lines, this journey avoids roughly €24,000 of overpayment per month — which the standard flow would neither have seen nor even left a trace of.
- Architecture rule #1 · The invoice enters through digitisation, never through “Create Bill”
Generating from the order copies the ordered price and destroys the control data. It is reserved for the few legitimate cases (self-billing, down payments) and closed off by access rights everywhere else.
- Architecture rule #2 · Don’t block the posting — block the payment
Preventing a bill from being posted breaks imports and credit notes and distorts the period’s accounts. Odoo can block settlement at journal-line level — the debt is recorded, the money doesn’t leave. This also solves the invoice arriving before the goods: posted at the right date, paid on receipt.
Level 3 · Chapter 8
The target architecture, in six building blocks
Designing a real three-way match on Odoo is not ticking a box: it means inverting the invoice entry flow, then building a control layer on the native foundation. Six blocks, in order:
- 01Inverting the entry flow
Mandatory capture (digitisation, electronic formats), verified unit-price extraction quality, order-based generation closed off by access rights. The most important block — and the cheapest: it is a process decision.
- 02The check and the payment block
Line-by-line comparison of quantity and price, in the document’s currency, against the right reference (order or contract). Out-of-tolerance gap → settlement block on the journal line, reason and amount displayed.
- 03The tolerance engine
The chapter 4 grid: % and absolute value combined, asymmetric, per supplier and category, configurable price source of truth. Does not exist natively — Odoo’s logistics “receipt tolerance” does not cover this need. To build or assemble (evaluate OCA modules first).
- 04The exception workflow
Every block creates a task routed by gap type: price → buyer, quantity → warehouse, duplicate → accounting. Target lead time, escalation, override approved according to the gap amount, mandatory traced justification.
- 05The accounting side
The aged holding-account report (chapter 5) — the deliverable auditors will ask for. Purchase price variance account, stock/sold allocation rule, ancillary cost policy by type and by contract.
- 06The analytics dashboard
What no line-by-line block ever sees: price paid per supplier over time, accepted-gap totals, override rate per user, resolution lead time — correlated with captured early-payment discounts.
Before any configuration: five decisions to get signed
Without these five documents approved by finance leadership, any configuration is arbitrary and will not survive an audit:
The control level per purchase category — 2, 3 or 4 documents, contract or not.
The price reference per category — purchase order or framework contract.
The tolerance grid — axes, thresholds, asymmetry, per supplier and category.
The approval and override matrix — who overrides, up to what, and who sets the tolerances (neither the buyer nor the billing team).
The accounting policy for gaps — valuation method, dedicated accounts, stock/sold allocation rule, ancillary costs.
The success criterion is not “block everything”.
A mature setup aims for both a high share of invoices processed without human intervention (> 80% in the relevant categories) and real control. The two only conflict when capture quality is poor or tolerances badly set. Before developing: evaluate the community OCA modules (the purchase-workflow repository) on the target version, and test everything in UAT: a price gap blocked but posted, a foreign-currency purchase with no false gap, an invoice in transit, a traced override.
In summary — what to remember from the €4,200 invoice
The three-way match is two questions before paying: did we receive it, and at the agreed price?
Odoo’s native “3-way matching” checks quantity, not price — and it flags without blocking.
The standard flow erases the price gap: the invoice must enter through digitisation, never through “Create Bill”.
Don’t block the posting — block the payment. Odoo can do it natively, at line level.
Slow drift only shows in the aggregate — the dashboard is part of the control, not of reporting.
The native foundation is rich; what’s missing — price control, tolerances, exception workflow — is precisely what gives the control its value. It is a design project, not a checkbox.
Appendix
The jargon, translated once and for all
- Three-way match
Matching the order, the receipt and the invoice before payment.
- AP / accounts payable
The team that receives, checks and pays supplier invoices.
- GR/IR · stock interim account
The “holding account” between receipt and invoice. Its balance = value received not yet invoiced.
- Tolerance
The gap threshold below which an invoice is accepted without intervention.
- Capture / OCR
Digitising the incoming invoice, so the amounts actually claimed enter the system.
- Touchless
Share of invoices processed end to end without human intervention.
- Early payment discount
A discount granted by the supplier for fast payment — lost if the invoice stays blocked.
- Landed cost
Ancillary costs (freight, customs) rolled into inventory cost rather than expensed.
- Accrued liabilities (FNP)
Goods received, invoice not yet arrived at closing time.
- Maverick buying
A purchase made outside the process, with no order — the invoice arrives with nothing to compare it against.
Do your invoices pass the check? Let’s verify it together.
Setting this control in your ERP is the Kinkō “Purchase controls” workstream. Thirty minutes is enough to take stock.
Work · Wash · ink, Atelier Hikarius, 2026