ContactBook a call

Systems

Invoice intake with an agent: the first thirty days

The first month of an invoice intake agent from the inside: how the queue behaves, which invoices escalate, and the three settings that decide whether it lasts.

Cover for “Invoice intake with an agent: the first thirty days”, with the line: Week one is shadow mode. Week four is when the finance team stops checking.
Week one is shadow mode. Week four is when the finance team stops checking. Image: SBD.

Invoice intake is the workflow we are asked about most, because every business has it and nobody enjoys it. An email arrives with a PDF, or a photo of a PDF, or a forwarded chain with the PDF three levels down. Someone opens it, types the supplier, the date, the total and the lines into the accounting system, and files it, two hundred times a month.

This is what the first thirty days look like when an agent takes it over. It is written from the builds we have done this year, in distribution and manufacturing, and it is the shape we now plan for.

The short answer

Month one has four phases: a week of shadow mode where the agent decides and a person acts, a week of the agent acting on high-confidence invoices only, a week of widening, and a week of steady state. Expect a high escalation rate early that falls as the prompt learns your suppliers. The three settings that decide whether it survives: a validation rule that line items must sum to the total, per-supplier confidence tracking, and a review queue the finance team likes using.

Shadow mode to steady state: the plan SBD uses on every invoice intake build
Shadow mode to steady state. The plan SBD uses on every invoice intake build.

Week one: shadow mode

The agent reads every invoice email, extracts supplier, invoice number, date, currency, total and line items, matches the supplier against the supplier table, and writes its proposed record to a staging table with a confidence score. It does not touch the ledger.

The finance person does the job as before, and once a day compares. This week exists to calibrate two things: what the agent gets wrong, and what confidence it reports when it is wrong. Both are logged.

Typical findings in week one:

  • Supplier matching fails on trading names versus legal names. We add aliases to the supplier table.
  • Scans and photos extract worse than native PDFs. We add an image preprocessing step.
  • One or two suppliers use a layout the agent misreads. We add examples to the prompt.

Nothing is live yet, and the team has a list of fixes.

Week two: act above the line

The agent now posts invoices to the ledger when three things are true: confidence is above the threshold set from week one, the supplier matched exactly, and the line items sum to the total within rounding. Everything else goes to the review queue with the extraction and the reasoning attached.

Early in week two most invoices still escalate, because the threshold is set cautiously. That is fine. The finance person is now reviewing a pre-filled record rather than typing one, which is already most of the time saved.

Week three: widen

Each escalated invoice is a lesson. The person corrects it in the queue and the correction is logged against the supplier. By the end of week three the prompt has examples for the awkward suppliers, the alias table is complete, and the threshold is re-set from the replay of three weeks of decisions.

The escalation rate falls sharply here. If it does not, something upstream is wrong, usually a supplier whose invoices vary every time, and that supplier gets a permanent manual flag rather than endless tuning.

Week four: steady state

The finance person stops checking the ledger daily. The signal that they have stopped is the point of the whole exercise. The review queue is now the job, and it is a fraction of the old one.

Three monitors are live by now:

  1. Outcome count. Invoices posted per day, with an alert when it goes quiet.
  2. Per-supplier confidence. One supplier’s score dropping means they changed their template. We have had this happen in month three.
  3. Arithmetic. Lines must sum to total. A mismatch or an absence always escalates. This one rule catches more than any prompt change.

Before and after

BeforeAfter month one
Per invoiceOpen, read, type, fileReview only the escalated ones
Who typesThe finance personNobody
Where errors surfaceAt reconciliationIn the queue, before posting
Supplier changed templateTyped wrong for weeksFlagged on the first invoice

What it costs to run

An extraction call is a fraction of a cent. Two hundred invoices a month is a few dollars of model cost. The real cost is the build, the staging table, the queue, the monitors and the four weeks of tuning. That is a fixed-price build, usually inside one sprint, with sixty days of hypercare that covers the tuning described above.

Questions we get asked

What about approvals?

The agent posts to the ledger as a draft or to a staging table. Your existing approval flow stays. We are removing the typing, and people keep control.

Does it work with Tally, Xero, QuickBooks, Zoho Books?

Yes. Only the write step differs. We have shipped against each.

Our invoices come by WhatsApp and post.

WhatsApp works the same as email. Post means someone scans it, and the photo path handles the rest.

Sources and further reading

  • Finance
  • AI agents
  • Document processing

Keep reading

Cover for “Poppy 1.0 and what personal agents will ask of you”, with the line: Publish the basics, then add actions with approval.

Systems

Poppy 1.0 and what personal agents will ask of you

Sierra released Personal Agent Protocol (Poppy) 1.0 on 13 Nov 2026. What a mid-size business off Shopify should expose to personal agents, and in what order.

Cover for “Moving off OpenAI Agent Builder before 30 November”, with the line: Agent Builder and Evals shut on 30 November 2026. ChatKit stays. Export what you need before then.

Systems

Moving off OpenAI Agent Builder before 30 November

OpenAI Agent Builder and Evals are due to close on 30 November 2026. What to export now, where agents can go, how to move them and which ones to retire.

Cover for “Does an AI agent still need Zapier?”, with the line: Agents are good at judgement. Plumbing is a different job.

Strategy

Does an AI agent still need Zapier?

A widely shared post argues agents will take Zapier to zero. We run both daily. Where the argument is right, where it is wrong, and what we use for each job.

Find out what is worth automating

About 95% of AI pilots never reach the profit line. We start with the work your team still does by hand and measure each build by the hours it saves.

See how we work

Cookie preferences

Choose what this site may use on your device. You can change this at any time from “Cookie settings” in the footer.

Strictly necessary

Keep the site working and remember the choices you make here. These cannot be switched off, and none of them track you.

Always on
What this includes (4)
NameProvider PurposeDuration
sbd-consentThis site Remembers your cookie choices12 months
Vercel Web AnalyticsVercel Inc. Counts page views in aggregate. Sets no cookie and stores nothing on your deviceNone
ticker-dismissed, sbd-note-offThis site Remembers that you closed a notice or language tipUntil the tab closes
sbd-voice-resume, sbd-voice-prefillThis site Carries a voice conversation across pages, only if you start oneUntil the tab closes

Analytics

Tell us which pages are read and where visitors leave, so we can improve them. IP addresses are anonymised and nothing is used for advertising.

What this includes (2)
NameProvider PurposeDuration
_gaGoogle Analytics (Google LLC) Distinguishes visitors with a random ID13 months
_ga_FPXDMQPRV1Google Analytics (Google LLC) Keeps the session state for this site13 months

Functional

Embedded services that set their own cookies. Without them the site still works; you get a link to open the service instead.

What this includes (1)
NameProvider PurposeDuration
Booking calendarCal.com Inc. Shows live availability and books the call on the booking pageSet by Cal.com

Advertising

Not used. This site has no advertising, retargeting or social media tracking, and we never sell data.

Not used

Questions about your data: hello@smallbaydigital.com