professional services · Reads every supplier invoice, re-checks the math in plain code, and hands back a file ready to import, with anything that does not add up set aside for a person.

Cut supplier invoice keying from about 4 minutes to under 1 per invoice for a six-person bookkeeping practice

Client snapshot

A bookkeeping practice in the north of England with six staff: the owner, three bookkeepers, a payroll clerk and a part-time administrator. It keeps the books for around 70 small businesses, mostly trades, shops, cafes and small online sellers. Most clients are on Xero, a smaller group on QuickBooks Online, and about two thirds are VAT registered, so the practice files their quarterly VAT returns under Making Tax Digital. Several clients buy from suppliers abroad and pay in euros, dollars and a handful of other currencies.

The problem

Supplier invoices arrived every way possible: forwarded emails, PDFs dropped in a shared folder, and phone photos sent on WhatsApp, often of a crumpled delivery note on a van dashboard. A bookkeeper opened each one and typed it into Xero or QuickBooks as a bill: supplier, invoice number, dates, each line, the VAT and the total. That was 3 to 5 minutes an invoice, and a few thousand invoices a quarter.

The work bunched up badly. A VAT return is due one month and seven days after the quarter ends, and many clients only send their invoices in that window, so the team spent the first weeks of each quarter keying instead of reviewing. The capture tool they used on some clients read header totals only, which did not help on line-level VAT checks, and it struggled with photos.

Mistakes were small but real. A total keyed with two digits swapped, a VAT figure copied from the wrong line, an invoice dated next year. A few per quarter made it into a client's books and turned up later at reconciliation, or not at all. The owner was also wary of invoice fraud, where a supplier's bank details quietly change, and wanted anything odd about payment details in front of a person.

What we built

A batch extractor that reads each invoice, checks the numbers in plain code, and hands back a file ready to import plus a short list of invoices for a person to look at.

  1. Read the invoice into one fixed shape. Each invoice, whether a PDF, a scan or a photo, goes to Claude (an AI model) and comes back in one fixed shape: supplier, VAT number, invoice number, invoice date, due date, currency, every line with quantity, unit price and amount, then subtotal, VAT rate, VAT, total and bank details. The model only fills in fields. It does not decide whether the invoice is right.
  2. Two cost tiers. Most supplier invoices are clean PDFs with real text in them. For those, the text is pulled out locally and sent to a small model, which costs under a tenth of a cent per invoice. Phone photos and poor scans go as the whole file to a larger model, at about 3 cents per invoice.
  3. Recheck every number to the cent. Plain code adds the lines up to the subtotal, works out the VAT from the rate and checks the total, all to the cent and in the invoice's own currency. It checks that the dates are real dates and that the due date is not before the invoice date. It checks that bank details are present and in a plausible format.
  4. Flag, never guess. Anything that does not add up goes on a needs-review list with the reason in plain words, for example "20% of 1,840.00 is 368.00, but the VAT shown is 368.50". The invoice is not passed through, and nothing is corrected silently.
  5. Hand back files the team can import. Each batch produces a CSV with one row per invoice, an Excel file with the line items, and the needs-review list. For this practice the columns were mapped to Xero's bill import, which brings them in as draft bills, and to the QuickBooks Online bill import for the clients on QuickBooks. A bookkeeper runs the import and approves the drafts as usual. There is no direct connection into either system.

Because figures move from the extractor's file into Xero or QuickBooks by import rather than by retyping, the records stay digital end to end, which is what Making Tax Digital for VAT asks of them.

Before go-live we tested it on 12 invoices from suppliers it had never seen, in 8 currencies, plus 4 phone photos. About 98% of fields came out correct on both the PDFs and the photos. One invoice with a VAT figure out by 0.50 was caught and flagged, and no correct invoice was wrongly flagged.

Results, 90 days in

  • Staff time per supplier invoice: about 3 to 5 minutes of typing → under a minute, mostly approving drafts and clearing the needs-review list.
  • Around 98% of fields filled in with no retyping. The rest went to the needs-review list, never straight into a client's books.
  • VAT arithmetic errors reaching client books: a few per quarter → none found in the quarter's reconciliations. Invoices with more than one VAT rate go to the needs-review list, so a person splits them.
  • The first weeks after quarter end went back to reviewing figures and talking to clients instead of keying.
  • Most invoices are clean PDFs, so most of the volume runs on the low cost tier; only photos and poor scans pay the higher rate.

Quote

"I don't want it to be clever, I want it to be honest. When the numbers don't add up it tells me which line, and I check the invoice." Practice owner

Build snapshot

  • Timeline: 7 business days
  • Stack: Claude, Python, Excel, Xero, QuickBooks Online
  • Investment: $2,200
  • Who owned it: the senior bookkeeper owns the field list and the import mappings and clears the needs-review list daily during VAT weeks.

The pattern

This is the pattern we ship in the Document Sorter engagement. Here the documents were supplier invoices for many clients at once, and the key step was letting plain code, not the model, decide whether each invoice adds up. If your team retypes invoices, receipts or statements into accounting software, the build is the same, with your fields and import format swapped in.


Based on real client projects. Names and identifying details are changed for privacy, and the figures are representative of that work rather than any one client's exact numbers. The workflow, stack, and approach are exactly what we build.

Looks like your situation?

A 30-minute call tells us whether the same pattern fits your operation, and what it would cost to ship it.