Home / Blog / Cleaning a messy expense list with AI
Cleaning a messy expense list with AI
A worked example: ten scruffy lines, the AI's table and totals, and the checks that catch silent changes.
By Kigumi AI · 30 November 2026
The danger isn't that AI fails loudly. It's that a number quietly changes and the result looks tidier than before.
The input
A made-up month, as it really tends to look:
3/11 timber merch oak boards 412,50 receipt 03.11. Timber Merchant - oak 412.50 (photo) 5 nov fuel 71.20 Nov 7 screws+glue hardware shop 38,9 rec 12/11 phone bill 29.99 rec 14.11 lunch w customer 46 18/11 saw blade 1,250 rec fuel 22/11 68.40 rec 25 Nov insurance 640 - covers whole year ?? parking 6 29/11 refund from hardware shop -12.40
The prompt
Tidy it into a table for my accountant (date, supplier, what, category, amount in EUR, receipt yes/no), give totals per category and overall, and list everything that looks wrong or that I need to check. Don't guess missing amounts or dates.
What happened
One test run on 29 November 2026 with Claude Sonnet, through our developer tool. Yours will differ.
- The two oak lines were counted once and flagged as a possible duplicate.
- "1,250" was left out of the totals: it could be 1.25 or 1,250.
- Overall without the saw blade: €1,300.59. We added it up by hand and it matched.
- It listed the lines with no receipt noted, the missing date and the missing year.
- It raised questions for the accountant instead of answering them, such as whether the annual insurance should be spread over the year.
Two things to notice. It made a choice by merging the oak lines; had you bought twice, your total would be short €412.50. And it read dates as day/month: say which you use.
Prove nothing got lost
- Keep the original untouched; work on a copy.
- Count rows before and after. Every missing row needs a reason.
- Add up one column yourself with the spreadsheet's own SUM.
- Ask for a list of every value it changed, merged or left out.
- Spot-check five rows against receipts.
For long lists, don't let the chat retype your data. Ask it to write the formulas or steps and run them in your spreadsheet. One user reported a custom GPT inventing column contents on a large CSV, and a Microsoft Research benchmark of long delegated editing found documents degrading over many rounds (it tests 20 edits in a row, not a single request).
Older tutorials may suggest Excel's =COPILOT() function: Microsoft says it has been no longer available since 14 September 2026.
Watch for
Day/month versus month/day, decimal commas, leading zeros, phone numbers turned into numbers, mixed currencies.
Before you upload
A list of customers is personal data. Remove names and contacts you don't need and check what you can give AI.
See also: receipts and documents for your accountant.
We help small businesses set up their first task with AI. See prices. To buy, write to [email protected].