AI agent · Finance and accounting
AP invoice agent: matches supplier invoices to POs and deliveries
The AP invoice agent takes each supplier invoice and checks it against the purchase order and what was actually received. When everything agrees, it prepares the bill with GST and account codes for finance to approve. When something differs, it holds the invoice and shows exactly what differs and by how much.
Bill for invoice INV-55021 from supplier S-114
- 200 safety gloves at S$3.25 (PO: S$3.10)
- S$650.00
- 50 safety goggles at S$8.40, matched
- S$420.00
- Subtotal
- S$1,070.00
- GST 9%
- S$96.30
- Total payable
- S$1,166.30
Gloves are S$30.00 over the PO, above your S$20 tolerance, so the bill is held for you. Quantities match GRN-0934.
Sample data. Harbourline Supplies Pte Ltd is not a real company.
The job
What it does, and what it never does
What it does
- 1Matches each invoice line to the PO line and the goods received note.
- 2Checks prices and quantities against the tolerances you set.
- 3Codes the bill to your accounts, checks the GST charged (9% on standard-rated lines, and only from a GST-registered supplier), and puts it in front of finance to approve.
- 4Sets the due date from the supplier's payment terms.
- 5Checks for likely duplicates by supplier, invoice number and amount.
What it never does
- Pay a supplier
- Change a supplier's bank details
- Post a bill without approval
- Approve its own exceptions
AP invoice agent
Spec sheet- Job
- Matches supplier invoices to POs and deliveries.
- Module
- Finance and accounting
- Starts when
- A supplier invoice arrives.
- Default control
- Draft for approval
- Approved by
- An AP clerk, or the finance manager when a bill is held or above your value limit.
- Always a person
- Paying a supplier is a payment, so it always stops at a person.
- Logged
- Every draft, edit and approval, in your own system.
- Off switch
- Yes. Switch it off and the work goes back to your team.
Trigger
When it starts
- The document intake agent reads an invoice from your accounts inbox.
- Someone keys in or uploads a supplier invoice.
- A held invoice is updated, for example when a credit note arrives.
Data
What it reads and what it writes
Least access: the AP invoice agent reads only the records this job needs, and it writes only drafts. Some things it never touches, whatever the settings.
Access is set per agent in the system we build, so you can see exactly what it can reach. Changing it goes through the same tests and review as any other release.
Access
- Reads
- Drafts
- Never
- Reads
Supplier invoices
PDF, scan or keyed in
- Reads
Purchase orders and goods received notes
For the three-way match
- Reads
Supplier terms and past bills
Due dates and duplicate checks
- Reads
Chart of accounts and tax codes
For coding
- Drafts
Supplier bills
Posted only after approval
- Never
Supplier bank details
Always a person
- Never
Payments
Always a person
Control level
Draft for approval by default, with limits you set
- Level 1
Suggest
The agent recommends. A person does the work.
- Level 2 Default
Draft for approval
The agent prepares the record and waits. Nothing changes until a person approves. This is the default.
- Level 3
Act within limits
Opt in per action, under a S$ limit you set. Payments, deletions and messages to customers or suppliers always stop at a person.
For the AP invoice agent
Off for this agent. Posting a bill always waits for a person in finance.
Sample data. Harbourline Supplies Pte Ltd is not a real company.
Always stops at a person, at every level
Payments, deletions, and messages to customers or suppliers. No setting turns this off.
Limits you can set
Set in the scoping call, changed whenever you need, and logged when they change.
Price tolerance
A S$ or percentage difference per invoice that still counts as a match. Anything above is held and flagged. Either way, the bill posts only after approval.
Quantity rule
Bill only what was received, or allow small differences you define.
Approval by value
Bills above a S$ amount you set go to the finance manager.
Accounts it may use
The accounts and cost centres it may code to. Anything else goes to a person.
Approval
The approval step
What the approver sees
- The invoice beside the PO and the goods received note
- Each difference in price or quantity, with the amount
- The accounts and GST codes it chose
- The due date from the supplier's terms
After approval
Once approved, the bill is posted and waits for the payment run. Paying it is a separate step that a person in finance always takes.
What each choice does
Approve
The change is made exactly as drafted, and the approval is logged with your name and the time.
Edit, then approve
Your changes are logged as yours, next to what the agent first drafted.
Reject
Nothing changes. The draft and your reason stay in the log.
Log
What is logged
Every step is recorded in your own system, with who proposed it, who approved it and what changed. For the AP invoice agent, that means:
- The invoice file, and when it arrived
- The match result for each line
- The codes it chose
- Edits and notes from finance
- Who approved, and the posting reference
- event
- bill.posted
- record
- INV-55021 from S-114
- matched_to
- PO-1162, GRN-0934
- exception
- gloves S$0.15 a pair over PO, S$30.00 in all
- held_by
- AP invoice agent, 10:05
- approved_by
- Finance manager, 11:40
- total
- S$1,166.30 incl. GST
- due
- 10 Dec, 30-day terms
Sample data. Harbourline Supplies Pte Ltd is not a real company.
Testing
How it is tested before go-live
- 1
We agree the cases with you
The everyday cases, plus the awkward ones your team already knows about.
- 2
It runs on a test copy
On sample data or a test copy of your system, never on your live records.
- 3
Two people check it
Our tester runs the test plan. Our ERP controller checks the business rules: prices, GST, tolerances and who approves what.
- 4
The release is reviewed
Lester Law, our founder, runs the AI coding agents and reviews every release before it reaches you.
- 5
You sign off
You check the results against the agreed cases. It goes live when you are satisfied.
Cases in the test plan
Each one is run and checked before go-live, with your own cases added.
- Invoice that matches the PO and delivery exactly
- Price higher than the PO
- Short delivery: invoiced for more than was received
- Invoice with no PO
- The same invoice sent twice
- One invoice covering two deliveries
Sample run
A sample run, start to finish
10:04 · Supplier S-114, by email
Invoice INV-55021 attached (PDF).
10:05 · AP invoice agent
Matched to PO-1162 and GRN-0934. Goggles agree. Gloves invoiced at S$3.25 against S$3.10 on the PO: S$30.00 over.
10:05 · AP invoice agent
Above your S$20 tolerance. Coded the bill with GST of S$96.30 and held it for finance.
11:40 · Finance manager
Supplier confirmed the new price by email. Approved S$1,166.30 and posted.
11:40 · AP invoice agent
Posted. Due 10 Dec on 30-day terms. Payment stays with finance.
Sample data. Harbourline Supplies Pte Ltd is not a real company.
What to notice
- The agent prepares and explains. It does not decide.
- A named role approves, edits or holds, and that choice is logged.
- Anything unclear is left for a person rather than guessed.
Where it fits
Part of Finance and accounting
Start with the AP invoice agent on the tools you run today, or inside our finance and accounting software, one part of the AI ERP we build.
Industry
Wholesale and distribution
Account pricing, stock across locations, purchasing and credit control.
Industry
Construction and engineering
Progress claims, variations, site requests and subcontractor payments.
Same module
Collections agent
Drafts payment reminders for overdue invoices.
Price
The AP invoice agent on your data, as a quick build from S$15k
2 to 3 days of build. You own the code, with no per-user licence fees. After go-live, Run (hosting, support, AI usage) and Evolve (monthly build capacity) are priced in the phase plan.
FAQ
Questions about the AP invoice agent
Can the AP invoice agent pay suppliers?
+
What is three-way matching?
+
What happens to an invoice with no PO?
+
Can it catch duplicate invoices?
+
Who sets the tolerances?
+
Can we keep our accounting software?
+
See the AP invoice agent on your kind of data.
Bring one workflow that hurts. In 30 minutes we show you how it would run as an approval queue on sample data, and what a quick build would cost.