Where supplier invoices lose time and money
In many small and mid-size finance teams, an invoice arrives by email, is keyed into the accounting system and then waits in someone's inbox for approval. That works until volume grows. Then the same problems return every month:
- Approval chasing. The invoice sits with a travelling manager, the supplier calls about payment, and the early-payment discount expires.
- Duplicates. One invoice arrives as a PDF, a paper copy and a reminder, and is entered twice under slightly different numbers.
- Coding drift. Two clerks post the same supplier to different accounts or cost centres, and the management report stops comparing like with like.
- Missing liabilities at month-end. Invoices still in an inbox are not in the books, so the close starts with a hunt.
- Payment fraud. A request to change a supplier's bank details, sent from a look-alike address, is a well-known way for money to reach the wrong account.
Imagine a building-materials distributor in Riyadh receiving a few hundred invoices a month: PDFs, phone photos from site managers, many in both Arabic and English. Each passes through three or four people before payment, and nobody can say without checking how many await approval today.
The parts of an AP automation system
We build it as small parts that work as one flow, within our AI agents and automation service. Each part can start simple:
- AP inbox. A dedicated email address and an upload screen. Every document gets a record and an ID on arrival, so nothing lives only in a personal inbox.
- Capture and extraction. Text recognition plus a language model read the supplier, invoice number, dates, totals, VAT and lines, in Arabic or English, including Arabic-Indic digits. Structured data, such as the XML or QR code used in Saudi e-invoicing, is read first. Our document processing page covers the techniques.
- Validation. Lines must add up, VAT must compute, the supplier must exist in your records and the bank details must match the ones on file. Failures go to a person with the reason shown.
- Coding suggestions. The account, cost centre and tax code are proposed from that supplier's history. The clerk confirms or corrects, and the correction shapes the next suggestion.
- Approval routing. Rules from your approval matrix by amount, department, project or supplier, with delegates for leave and reminders that escalate. Approvers act from email or a phone with the original document in view.
- Duplicate checks. Supplier, normalised invoice number, amount and date are compared with the tool's history and with bills already in your accounting system, so a copy keyed in by hand last month is caught too.
- Payment run preparation. A proposed list by due date and discount date, a cash view, a separate approval for the run, then a bank payment file or a batch in the accounting system. We never move money: payments go through your bank.
- Reports. Invoices waiting by stage and approver, overdue approvals, invoices received but not posted at month-end, and exceptions by reason.
Connecting to QuickBooks, Xero or an ERP
The accounting system stays the book of record. Master data flows out of it: suppliers, the chart of accounts, tax rates, cost centres and tracking categories. Approved bills flow back with the original PDF attached, through its API. QuickBooks Online and Xero both publish APIs for suppliers, bills, accounts and attachments, and most ERPs offer an API or a structured import.
Four design rules prevent most sync problems:
- Supplier bank details are never changed through the sync; changes go through the verified workflow below.
- Each posted bill carries the AP tool's reference, so a retry after a network failure updates that bill instead of creating a second one.
- Accounting APIs limit how many calls you can make, so posting runs through a queue that retries and alerts someone when a bill fails.
- Payment status flows back from the accounting system, so the tool and the books agree on what is paid.
Simpler set-ups can run parts of this flow on n8n, Make or Zapier, and our workflow automation page covers the trade-offs. If an off-the-shelf AP app already fits your process, use it; our article on building or buying software helps you decide when custom work is worth it.
Exceptions, approvals and who decides
Automation handles the invoices that pass every check. People handle the rest, and the software's job is to make that work quick and visible. Each exception lands in one queue with a reason and an owner:
| Exception | Who resolves it | What the screen shows |
|---|---|---|
| Unreadable or incomplete invoice | AP clerk | The document beside the fields that could not be read |
| Possible duplicate | AP clerk | Both invoices side by side, with the matching fields marked |
| New supplier or new bank details | Owner of the supplier records | The verification steps, including a call-back to a known number |
| Totals or VAT do not compute | AP clerk, then the supplier | The calculation and the difference |
| Above the approver's limit | Next approver in the matrix | Approval history and the reason for escalation |
An approval is a decision, not a click to clear a queue, so the approver sees the document, the coding, the budget line and earlier invoices from the same supplier. Our article on when AI needs a human's approval explains how to keep approvals from becoming a rubber stamp.
We build the software, not the accounting. How an invoice is accounted for, its VAT treatment and your approval limits are decisions for your finance team, confirmed with your accountant or tax adviser. This page is not accounting or tax advice.
Protecting bank details and the payment path
An AP system holds what an attacker most wants to change: where your money goes. Every project begins with a threat review, and for AP it centres on the payment path:
- Bank detail changes are their own workflow. A change never comes from an invoice. Someone confirms it by calling a number already on file, and a second person approves it.
- Separation of duties. Whoever adds a supplier cannot approve that supplier's invoices or release a payment run, and the software enforces this rather than a policy document.
- Scoped access. Multi-factor authentication for every user, roles that follow your matrix, and a connection to the accounting system with the narrowest access it offers.
- Audit trail. Who uploaded, what the model extracted, what a person changed, who approved and when the bill posted, in a log users cannot edit.
- AI data settings. Invoices hold personal and commercial data, so we use model providers on terms that exclude training on your data, and agree how long anything is retained.
Measuring against your current baseline
Before building, we measure a baseline from your own records, usually a recent month or quarter, so the result is compared rather than claimed:
- Staff minutes per invoice, from receipt to posting, including corrections.
- Days from receipt to approval, and from approval to payment.
- Invoices that pass with no human correction, by supplier, which shows where the work comes from.
- Late payments, missed early-payment discounts and supplier chasers.
- Duplicates caught before payment.
We do not promise a share of invoices that will flow through untouched. That depends on your suppliers and documents, and the baseline shows what is realistic.
How an AP project usually starts
Most start with a discovery sprint of about two weeks. We read a sample of real invoices, map the flow and the approval matrix, review the chart of accounts and supplier list, and threat-model the payment path. You leave with a clickable prototype of the inbox and approval screens, a technical approach for your accounting system and a written roadmap.
The build often begins with one entity or one group of suppliers, runs beside the current process for a few weeks, then widens once the numbers hold. You see progress in weekly demos, as described in how we work. Two related workflows sit next to this one: three-way invoice matching for purchase-order spend, and bank reconciliation to confirm that payments cleared.