Vendor statement reconciliation means checking a supplier's statement of account against your own payables ledger for that supplier. Every invoice, credit note and payment on the statement should match an entry on your side, and the two balances should agree. An AI agent can do the comparison for every statement that comes in. It reads the statement in whatever format the supplier sends, matches each line with your ledger, and gives every difference a cause and a next step. It posts nothing and pays nothing. A person in accounts payable reads the result and decides.
Where nobody owns the check, statements get filed rather than checked. Someone looks at them when a supplier calls about an overdue invoice, or when the auditor asks for balance confirmations at year end. By then the missing invoice is three months old, and the invoice that an unbooked credit note should have reduced has been paid in full.
I build agents like this, so I have an interest in you commissioning one. This note describes how such an agent is set up, not a client project. The example further down is made up.
Why a statement is worth checking
A statement is the supplier's view of what you owe. Most of its lines will match. The ones that don't are worth more than their number suggests:
- An invoice on the statement that you never posted. It may never have arrived, it may be waiting for approval, or someone may have posted it to the wrong supplier. Left alone, it turns into a reminder and sometimes a delivery stop.
- A credit note you never booked. You pay the full invoice and the money sits with the supplier until someone notices.
- An invoice you posted twice. The statement shows it once and your ledger shows it twice. If both entries get paid, you have a refund to chase.
- A payment the supplier applied to the wrong invoice. Your ledger is right, theirs isn't, and the next reminder is for an invoice you paid.
None of this needs judgement to find. It needs someone to compare two lists line by line, every month, for every supplier who sends a statement.
What the agent compares
The agent has two inputs. One is the statement: a PDF, a spreadsheet, the body of an email or a download from the supplier's portal. The other is your side of the account: open items, items cleared since the statement's start date, payments already sent but not yet on the statement, and invoices that sit in your approval workflow or your invoice inbox but haven't been posted yet.
That last group matters. If the agent only looks at posted entries, every invoice still waiting for approval shows up as missing, and the result is noise.
The language model reads the statement and turns it into lines with a document number, date, type and amount. The comparison itself is code. It matches on the supplier's document number first, allowing for a missing prefix or leading zeros, then on amount and date. Each difference gets one of these labels:
| Difference | Likely cause | What the agent prepares |
|---|---|---|
| Invoice on statement, not in your ledger, not in the inbox | Never received | Draft email asking the supplier for a copy |
| Invoice on statement, waiting in your approval workflow | Approval is slow | Note to the approver with the statement date |
| Invoice on statement, posted under another supplier | Wrong supplier account | Case for accounts payable with both entries |
| Invoice in your ledger, not on statement | Supplier hasn't posted it, or a duplicate on your side | Duplicate check against your own ledger, then a case |
| Credit note on statement, not in your ledger | Credit note never arrived or never booked | Draft request for the credit note |
| Payment in your ledger, not on statement | Payment in transit | Nothing, if the payment date is within your set window |
| Same document, different amount | Price, discount or currency difference | Case with both amounts side by side |
| Payment applied to a different invoice by the supplier | Wrong allocation on their side | Draft email naming the right invoice and payment |
| Balance brought forward differs from your ledger balance on that date | A difference from an earlier period | Draft request for the supplier's earlier statement |
Timing differences need no action. Set the window once, say five working days for a bank transfer, and let the agent clear them quietly. They still appear in the log. The reconciliation patterns that trip up automated matching apply here as well, partial payments and rounding included.
How one statement goes through
1. Intake. The agent picks statements out of the accounts payable mailbox, tells them apart from invoices, reminders and order confirmations, and identifies the supplier. A statement it can't assign to exactly one supplier account goes to a person.
2. Read. It extracts every line, the balance brought forward and the closing balance. Then it adds the lines to the balance brought forward and checks the result against the closing balance the statement prints. If the sum doesn't match, the extraction is wrong, and the statement goes to a person instead of being compared.
3. Compare. The code matches lines and labels each difference as in the table.
4. Report. Accounts payable gets one summary per supplier: balance on the statement, balance in your ledger, the differences that explain the gap, and any remaining amount nobody can explain yet. Each difference comes with its prepared next step.
5. Follow up. Emails to the supplier stay drafts until a person sends them. When the copy of a missing invoice arrives, it goes through your normal invoice processing and approval like any other invoice. The statement doesn't make it payable.
A made-up example
A machine shop receives a statement from its steel supplier at the start of the month. It lists last month's transactions under a balance brought forward from the month before. The statement ends at €19,430.00. The shop's ledger shows €14,260.00 for the same supplier.
The agent finds four differences:
- Invoice 70418 for €3,920.00 is on the statement and nowhere on the shop's side. The agent drafts a request for a copy.
- Invoice 70391 for €2,150.00 is on the statement and sits in the approval workflow, unapproved for three weeks. The agent sends the approver a note.
- Credit note G-1127 for €480.00 is on the statement and not in the ledger. The agent drafts a request for the credit note.
- A payment of €1,420.00, sent two days before the statement date, is in the ledger and not on the statement. It falls inside the five-day window, so the agent marks it as in transit.
The ledger balance plus the two invoices, minus the credit note, plus the payment the supplier hasn't recorded yet: 14,260 + 3,920 + 2,150 − 480 + 1,420 = 21,270. The statement says 19,430. €1,840.00 is still unexplained, and no line from last month accounts for it. The agent compares the balance brought forward with the shop's ledger balance on the same date and finds the gap there: the supplier's opening figure is €1,840.00 lower. It says so at the top of the summary instead of hiding it in a footnote, and drafts a request for the supplier's statement for the month before. That statement shows the cause: the supplier had booked a return as a credit of €1,840.00 that the shop had never been told about. That one needed a person, and the agent had already sorted out everything else.
Rules the agent can't break
These sit in the agent's permissions and in code, not only in its instructions. I explain why in a prompt is a request, a guardrail is a wall.
- It never posts, clears or changes an entry in your ledger.
- It never releases a payment because an invoice appears on a statement. A statement is no approval.
- It never changes supplier master data. If the bank details on a statement differ from the ones you hold, that goes to a person as a warning, not as an update.
- An invoice on a statement that matches no order and no delivery is flagged as unknown. The agent doesn't ask for a copy so it can be paid.
The last two rules exist because statements are a convenient place to slip in a changed account number or an invoice for something nobody ordered. Treat a statement as the supplier's claim and check it like one.
What it needs before the build
Clean supplier accounts help more than anything else. If one supplier has three accounts in your system, the agent will report differences that are really duplicates in your master data. Fix those first.
It also needs read access to the invoices that aren't posted yet: the approval workflow and the invoice inbox. Without that, the agent can't tell "never received" from "waiting for approval", and those two need different next steps.
Run it in shadow mode for a month or two. The agent compares every statement and writes its summary to a list, and your team reconciles the way it always has. Then compare. If the agent missed a difference your team found, find out why before anyone relies on it. The cases it can't resolve go to the escalation queue, and each comparison gets a record in the audit trail.
When it isn't worth building
If fewer than a dozen suppliers send statements and most of them match, a person with a spreadsheet does this in an afternoon a month. If your accounting system already imports statements in a structured format and matches them itself, the agent would only add a second opinion. And if the real problem is invoices that wait weeks for approval, the statement check will keep reporting that problem without fixing it.
Bring three statements to a scoping call
Pick three supplier statements from last month, ideally the ones that took the longest to sort out, and export your ledger for the same suppliers. In a thirty-minute scoping call we go through the differences and see which ones an agent would have explained and which still need your team.