How to automate accounts payable: the steps, in order
How to automate accounts payable in seven steps, in order: capture, data entry, matching, coding, approvals, and the payment steps a person keeps.
By Imtiaz Alauddin, Co-founder and Head of GrowthPublished Checked 8 min read

To automate accounts payable, start with invoice capture and data entry. They take the most hours, and a mistake there is caught before money moves.
Add matching and coding next, then approval routing. Keep payment release, new supplier setup and any change to bank details with a person, because those are the steps where one error sends money somewhere you cannot get it back.
How to automate accounts payable in seven steps
- Count your baseline: invoices, touches, days to approve and exceptions for one month.
- Send every invoice to one AP inbox before you automate anything.
- Automate data entry and test it on a few hundred of your past invoices.
- Add two-way or three-way matching with tolerances written down in advance.
- Code invoices from your own history, sending new suppliers and odd lines to a person.
- Route approvals by written rules, with a named backup for every approver.
- Keep payment release, supplier setup and bank detail changes with a person.
The accounts payable process, step by step
Every AP team runs the same seven steps, whether the system is QuickBooks, Xero, NetSuite, Sage or a larger ERP. They differ a lot in how well they automate.
| Step | How hard to automate | What goes wrong | Should a person stay in it? |
|---|---|---|---|
| Capture: collecting invoices from email, mail, portals | Easy | Invoices sent to someone's personal inbox never reach AP. Statements and reminders get mistaken for invoices. | No, apart from fixing where suppliers send things |
| Data entry: supplier, number, date, lines, tax, total | Easy to moderate | Poor scans, handwritten notes, credit memos read as invoices, multi-page invoices split in two | Only for the ones flagged as unclear |
| Matching to purchase order and receipt | Moderate | Partial deliveries, unit mismatches (cases against each), missing PO numbers, freight added on the invoice | Yes, on every mismatch |
| Coding to accounts, classes, locations | Moderate | New suppliers with no history, one invoice split across departments, capital items coded as expense | Yes, for new suppliers and unusual lines |
| Approval | Routing is easy, the decision is not automatable | Approver on leave, invoice sits for a week, approval given by email with no record | Yes, always |
| Payment | Technically easy, and the riskiest step | Duplicate payments, payment to a changed bank account, paying before goods arrive | Yes, always |
| Reconciliation: supplier statements and bank | Moderate | Timing differences, unapplied credits, payments posted to the wrong supplier | Yes, to review and sign off |
The first two steps are high volume and low judgment. The last two are low volume and high consequence. That shape sets the order.
Why capture and data entry come first
In a manual process, most of the time per invoice goes to finding it, opening it and typing it. That is where the hours are.
The work is also easy to check. Every field the machine reads can be compared with the document it came from. Run a few hundred of your own past invoices through and count how many supplier names, totals and line items came out right.
A wrong total at data entry gets caught at matching, by the approver, or at the supplier statement. Several checks still stand between the mistake and your bank account.
Fix capture before you fix reading. If a third of your invoices arrive in project managers' inboxes, no reader will help until suppliers send to one AP address.
Expect the last stretch of accuracy to come from your odd cases, such as the carrier whose invoice is a spreadsheet. A good build sends those to a person and learns from the correction.
The document processing scorecard gives a rough read on how ready your documents are, and AI document processing covers the reading step itself.
Two-way and three-way matching, with an example
Matching answers one question before anyone approves: does this invoice agree with what we ordered and what we got? Two-way matching compares the invoice with the purchase order. Three-way matching adds the goods receipt.
The numbers below are made up to show the arithmetic.
| Document | Quantity | Unit price | Total |
|---|---|---|---|
| Purchase order 1182 | 200 cases | 12.50 | 2,500.00 |
| Goods receipt | 180 cases | ||
| Supplier invoice | 200 cases | 12.75 | 2,550.00 |
A two-way match finds the price difference: 0.25 a case, 50.00 on the invoice. If your tolerance is 1.00 per line, this fails and goes to a person.
A three-way match finds a second problem. The supplier billed 200 cases and the warehouse received 180. At the agreed price, what you owe today is 180 times 12.50, which is 2,250.00.
The invoice asks for 300.00 more than that, and a two-way match would have missed 250.00 of it. That is the case for three-way matching wherever you buy physical goods.
Matching breaks in predictable places:
- no PO number on the invoice
- cases on the PO and units on the invoice
- freight that appears nowhere else
- a receipt never entered because the warehouse was busy
Automation shows you these gaps on day one, so expect a long exception queue in the first weeks. Write tolerances down with your finance team, keep them tight, and loosen a rule only after a month of watching what it catches.
Why payment release stays with a person
Almost every other AP mistake can be reversed with a journal entry or a credit memo. A payment to the wrong account often cannot.
In its 2026 survey of 465 treasury professionals, the Association for Financial Professionals found that more than three quarters of organizations experienced attempted or actual payments fraud in 2025, and about three in four were affected by business email compromise.
That is the scam where someone poses as a supplier or an executive by email and asks for a payment or a change of bank details.
The FBI's Internet Crime Complaint Center recorded just over 3 billion dollars in reported business email compromise losses in 2025.
Automation helps with each of the controls below and owns none of them.
Duplicate invoices arrive by email and by mail, or come back with a suffix on the number. A system can compare supplier, amount, date and a cleaned-up invoice number across everything already entered. A person decides what to do with each hit.
Changed bank details should stop the invoice. Call the supplier on a number you already had on file, never one from the message asking for the change. A machine can hold the invoice and say why. It should never update the bank details.
An invoice from a supplier missing from your system should never be coded and queued like the rest. Someone has to confirm who ordered from them.
How to measure it before and after
Published benchmarks for cost per invoice vary a lot by source and by what each one counts, so we do not quote one. Your own books make a better baseline.
Export last month's supplier bills with invoice, entry, approval and payment dates, then count four things:
- Invoices per month, split by supplier.
- Touches per invoice: for 50 random invoices, count every time a person opened, typed, forwarded, chased, corrected or approved it, then average.
- Days to approve: approval date minus received date, as a median so a few stuck invoices do not skew it.
- Exceptions per 100 invoices: those that needed a question answered before posting.
Have the person who enters invoices time 20 of them.
With invented numbers: 1,200 invoices a month at 7 minutes each is 140 hours. If 4 of those minutes are capture and entry, that step is 80 hours, the ceiling on what automating entry can give back before exception handling.
Run the same counts three months after go-live with the same method. Expect exceptions per 100 to go up at first, because mismatches that used to be waved through are now counted.
Buy software or have it built
There are good AP automation products, and for many companies buying one is the right call. Buy when:
- your process is standard
- your invoices mostly arrive as clean PDFs
- your accounting system has a supported connector
- someone on your team has time to configure and own the product
Have it built when the software would force you to change how you work:
- an older ERP with no connector
- matching rules the product cannot express
- several entities with different charts of accounts
- nobody in finance with spare hours to run another system
You keep your process, and you depend on whoever built it to keep it running.
Either way, test on your own invoices before you sign and ask what happens to the ones the system is unsure about. Our comparison of the best intelligent document processing software walks through the products.
How we build it
Our AI accounts payable automation service follows the order above. It collects invoices from your AP inbox, scanned mail, shared folders and supplier portals. Then it:
- reads each one
- matches it to the purchase order and receipt where you have one
- codes it from how your team coded past invoices
- posts it to your accounting system as a draft for approval
It never pays a supplier. Duplicates, changed bank details and unknown suppliers are held for a person, and anything that does not match goes to an exception queue with the reason attached.
Before go-live we test on a sample of your past invoices and agree the matching and coding rules with your finance team in writing. Invoice volume, the number of entities and systems, and three-way matching move the price.
The same reading and matching work runs on the other side of the ledger under AI accounts receivable automation, and finance teams covers the rest of what we build for the department. To see where your own process stands, book a call.
Questions people ask
What should I automate first in accounts payable?
Invoice capture and data entry. They take the most hours, they are the easiest steps to check against the original document, and a mistake is caught at matching or approval before any money moves.
Matching and coding come next. Approval routing follows once your approval rules are written down.
Should accounts payable automation release payments?
We think a person should release every payment. A wrong entry can be corrected in the ledger, but a payment sent to the wrong bank account is often gone.
Automation can prepare the payment run and flag what looks off. Someone on your team should still approve the run in the bank or the accounting system.
What is the difference between two-way and three-way matching?
Two-way matching compares the invoice with the purchase order: same supplier, same items, same prices. Three-way matching adds the goods receipt, so you also confirm that what was billed actually arrived.
Three-way matching needs receipts recorded in your system, which many smaller companies do not have for every purchase.
How do I know whether accounts payable automation worked?
Count four things for one month before you start: invoices received, touches per invoice, days from receipt to approval, and exceptions per 100 invoices.
Count the same four things three months after go-live, using the same method. Compare your own numbers, since published benchmarks vary by source.
Do I need to buy AP automation software to do this?
No. Software is one route and suits companies with standard processes and someone to set it up and run it.
The other route is to have the same steps built inside the accounting system you already use. Which is cheaper depends on your invoice volume and how unusual your matching and coding rules are.
Sources
- 1.FBI Internet Crime Complaint Center, 2025 Annual Report (business email compromise complaints and losses) Checked .
- 2.Association for Financial Professionals, 2026 AFP Payments Fraud and Control Survey Report, key findings Checked .
- 3.Association for Financial Professionals, press release on the 2026 Payments Fraud and Control Survey, April 14, 2026 Checked .
If you would rather have it built
Keep reading
FinanceThree way match: how it works, with an example and tolerancesA three way match checks the invoice, purchase order and goods receipt before you pay. The steps, a partial delivery example and how to set tolerances.8 min read
Front deskAI for restaurants: what to automate first, job by jobAI for restaurants, job by job: what it handles on phones, reservations, reviews, scheduling and inventory, the tools by name, and what stays with staff.8 min read