C
The Procurement Codex
The lifecycle, as a system · Free & open
⚙️

Fully autonomous project. The Procurement Codex is built, verified, and published end-to-end without manual authoring. Its core logic — the spine, the layer model, and the platform comparison rubric — is rebuilt and improved on every iteration for continuous method validation. Content is generated programmatically and refined each cycle: treat it as a directional learning aid, verify against primary sources, and send corrections — accuracy and fairness compound with each pass.

Episode 11 · Where every upstream shortcut presents its bill

Invoice Management & 3-way Match

Every shortcut taken in the previous ten steps arrives here with an invoice attached. Matching does not create accuracy — it discovers whether accuracy was created upstream. That is why the organisations with the worst exception rates are almost never the ones with the worst accounts payable teams.

Below: the plain concept → how every major platform handles it → best practice → process mining, AI, orchestration and ownership, stacked until standalone is never enough.

L0 · The Concept

What it is

Invoice management is the capture, validation, matching, approval and posting of what a supplier says you owe. Three-way match is its central control: the invoice is compared against the purchase order from Ep09 and the receipt from Ep10, and only paid where price, quantity and terms agree within tolerance. Two-way match drops the receipt; four-way adds inspection.

Why it exists

Because the supplier invoice is the one document in the cycle the buying organisation does not author. It is the only place where a price that was never agreed, a quantity that never arrived or a service nobody consumed can enter the ledger. Matching exists to make paying the wrong amount require a deliberate override rather than an oversight.

What good looks like

Most invoices arrive already structured, match automatically and post without a human ever opening them. The minority that fail are routed by cause to whoever can actually resolve them, with the PO, receipt and contract on the same screen. Exception root causes are fed back upstream rather than absorbed. Nothing is paid without a match unless somebody senior consciously decided to.

L1 · Platform-Native — A vs B vs C

Same rubric for every vendor, 1–5. We state explicitly what each is best and worst at. Toggle platforms to compare.

Platform Best at Watch-out

Scores are directional teaching aids based on typical deployments, not vendor benchmarks. Your mileage varies by configuration, module licensing, scope, and integration maturity.

L2 · Best Practice

Design principles
  • Move capture upstream, not extraction downstream — every invoice you receive as structured data is an invoice you never have to read. Supplier enablement beats better OCR, permanently and at lower cost.
  • Match on the data you already committed to — price and terms come from the contract and PO, quantity from the receipt. If matching needs data nobody captured, the design is wrong, not the invoice.
  • Route exceptions by cause, not by queue — a price mismatch belongs to procurement, a quantity mismatch to receiving, a missing PO to the requester. A single shared exception queue guarantees the wrong people work the wrong problems.
  • Set tolerances as an economic decision — tolerance should reflect the cost of investigating versus the expected loss, and vary by category and value. A single global percentage is an accident, not a policy.
  • Feed root cause upstream — an exception resolved but not diagnosed will arrive again next month. Exception reason codes are a procurement input, not an accounts payable statistic.
  • Treat compliance as architecture — e-invoicing mandates and country-specific clearance models are a capture and archiving requirement; retrofitting them per country is far more expensive than designing for them once.
KPIs & failure modes
  • KPIs — touchless or straight-through match rate, cost per invoice, exception rate by cause, exception ageing, on-time payment rate, duplicate payment rate, e-invoice adoption by spend and by count.
  • No-PO invoices — the invoice arrives with nothing to match against, so it is approved by whoever recognises the supplier name. This is a step-eight and step-nine failure that only becomes visible here.
  • Exception ping-pong — the same invoice bounced between accounts payable, procurement and the requester because nobody owns the cause, only the queue.
  • Tolerance drift — tolerances widened over time to keep the automation rate looking good, until the control absorbs real overbilling silently.
  • OCR as a strategy — investing endlessly in reading PDFs better instead of getting suppliers to stop sending them.
  • Duplicate payments — the same invoice captured through two channels, or re-submitted by a supplier chasing payment, with no cross-channel duplicate check.
  • Payment-driven receipting — receipts posted by accounts payable to clear a block, which converts the match from a control into a formality performed by the party under time pressure.

The Layer Peeler — watch standalone become a system

Stack layers onto a PDF in a shared mailbox and watch the architecture — and the outcome metrics — change. This is the whole thesis of the Codex in one control.

Outcome at this stack level
Touchless match rate
Cost per invoice
Exception ageing
On-time payment

L7 · The Synergy Composite

A real best-of-breed invoice architecture is never one product. Here is the composite, and where the value actually lives — in the seams.

flowchart LR
SUP[Supplier] --> CH{L5 Capture channels
network, EDI, portal, PDF, paper} CH --> EINV[L1 Structured e-invoice
SAP Business Network / Tradeshift / Basware] CH --> OCR[L4 AI extraction
for unstructured PDF and paper] EINV --> VAL[L2 Validation
tax, duplicate, supplier and bank check] OCR --> VAL PO[Ep09 purchase order] -.price and terms.-> MATCH GR[Ep10 receipt or service entry] -.delivered quantity.-> MATCH VAL --> MATCH{L1 Three-way match
within tolerance} MATCH --> POST[L1 Posted to ledger
S4HANA / Oracle / D365] MATCH --> EXC[L5 Exception routing
by cause, to the owner] PM[L3 Process mining
Celonis / Signavio] -.root cause back upstream.-> EXC EXC --> POST POST --> PAY[Ep12 · Payment and Working Capital]

Standalone, an invoice module clears documents. Wired to a supplier network for structured capture, to Ep09 and Ep10 for the two documents it matches against, to AI for the unstructured remainder, to orchestration for routing exceptions by cause, and to mining for feeding those causes back upstream, it becomes the quality audit of the entire source-to-pay chain. No single vendor leads on network reach, extraction accuracy, matching depth and mandate compliance simultaneously — the seams are the whole game.

The Stack Builder — compose your own

Pick one from each column. The Codex assembles the composite and calls out where the seams need engineering. Shown here for invoice management and three-way match; the same engine powers every episode.

Cheat Sheet — Invoice Management & 3-way Match

The 5-second definition

Capture what the supplier says you owe, compare it against what you ordered and what you received, pay only what agrees, and send everything that does not to whoever caused it.

KPIs that matter

Touchless match rate · cost per invoice · exception rate and ageing by cause · e-invoice adoption · duplicate payment rate · on-time payment.

Scorecard in one line

Your exception rate is not an accounts payable metric — it is a report card on the ten steps that came before it.

Platforms in one line

Networks and AP specialists win on capture reach and extraction; ERPs win on matching depth, tax and posting; orchestration wins on routing exceptions to the right owner.

The layers

L0 mailbox PDF → L1 match engine → L2 tolerance and routing discipline → L3 mining → L4 AI extraction and prediction → L5 network and exception orchestration → L6 cause ownership → L7 composite.

The thesis

Standalone is never enough. Matching only becomes a control when capture, order, receipt, routing and root-cause ownership are wired together.

Scenario Check

Question /