Skip to content
Conduit
Field notes · 3 min read

Matching invoices without trusting the PDF

Accounts payable agents read invoices well. The hard part is deciding what to believe. Field notes from Ostra Freight's carrier invoices, and the checks we would run on any AP agent.

Kwame Mensah

Solutions Engineering Lead · Toronto

Fig. BL-01Field notes

Ostra Freight receives invoices from 1,400 carriers at a single address. Some are clean PDFs from a billing system. Some are photos of a printed page. One carrier in Gdańsk still sends a spreadsheet with the total in a merged cell. Before Conduit, the team took an average of 2.4 days from invoice received to posted in the ERP. It now takes 11 minutes, and almost none of that came from reading invoices better.

Extraction is the part everyone demos. In accounts payable it is the easy part. The hard part is deciding which numbers to believe, and what to do when they disagree.

Extraction is not the risk#

Modern models read a vendor name, an invoice number and a total off a messy PDF with very high accuracy, and Conduit shows a confidence score next to every field with the place on the page it came from. Low-confidence fields are rare and easy to route to a person. The failures that cost money happen when a field is read perfectly and is still wrong.

  • The invoice is real, but it was already paid last month under a different number.
  • The amount is correct for the shipment, but the quote said less.
  • The bank details on the PDF are not the ones on file for that carrier.

Match against your own records#

The rule at Ostra is simple: the invoice is a claim, and the ERP is the truth. The agent extracts the invoice, then looks up the shipment and the carrier's quote in Ledgerline, and compares. Only the comparison decides what happens next.

Ostra Freight's matching rules for carrier invoices
CheckPasses whenIf it fails
Shipment existsReference matches an open shipmentHand back to AP
AmountWithin 2% of the quoteHold for the controller
DuplicateNo invoice for this shipment and carrierReject, notify carrier
Bank detailsSame as the vendor recordHold, two approvers
CurrencySame as the quoteHold for the controller

About 86% of invoices pass every check and post on their own. The rest wait, each with a reason that names the check that failed. Amara Nwosu, the group controller, works the holds in one session each morning.

Tolerance is a business decision#

The 2% tolerance came from finance, not from us. Fuel surcharges move carrier invoices a little off the quote every week, and holding every one of them would have sent 40% of invoices to the controller. At 2%, about 9% are held, and the controller's review found that almost every variance above 2% was worth a conversation with the carrier.

Write the tolerance per vendor group if you can. Ostra holds its ten largest carriers at 1%, because a 2% error on their invoices is real money, and lets small local carriers run at 3%.

Never take bank details from an invoice#

Invoice fraud rarely looks like fraud. It looks like a genuine invoice from a real carrier, for a real shipment, with a polite note that the bank account has changed. An agent that reads every field correctly will read that note correctly too. The control has to sit outside the reading: a rule on the ledgerline.vendor.update_bank action that no workflow can skip.

In its first year Ostra's agent held 23 invoices for mismatched bank details. Twenty were genuine changes that the carrier had forgotten to announce. Three were not, and together they were worth more than the company pays for Conduit in a year.

Where to start#

Start with one intake address and one vendor group, in shadow mode, and compare the agent's matches with what your AP team posted. Write your tolerance and duplicate rules before you go live, and put the bank-details rule in on day one, even if it never fires. It is the cheapest insurance you will ever buy.

Written by

Kwame Mensah

Solutions Engineering Lead, Toronto

Former AP manager. Has opinions about three-way matching.

Try it on a queue you know by heart.

Build an agent from a procedure you already have, and read its first 50 drafts in shadow mode before it writes anything.

14 days free · 50 shadow runs per agent, not billed

176.0Ø 761READ HERE8 × M10FLOW · RUNSSIGHT GLASS SG-6SHOWSwhat flowsISSUEevery 2 weeksSCALE1 : 4