Sort a year of bank lines into categories with ChatGPT
The struggle: You have a year of bank lines and no energy to label each one before your accountant needs them.
What you end up with: A categorised copy of your transactions, a list of lines it could not place, and a summary your accountant can review.
You give ChatGPT your own category list, it labels a sample, you correct it, then it labels everything and flags the doubtful lines. A person still decides what counts for tax.
Tools: ChatGPT. Level: Free to start. Time: 1 hour once, then 20 min a month.
Use it if
- You run a small business or freelance and keep a bank export
- Your books have a year of uncategorised lines
- You have a category list from your accountant or last year
Skip it if
- You want it to decide what is tax deductible
- Your bank only gives you PDFs of scanned pages
What you need first
- A ChatGPT account with file uploads and data analysis (limits vary by plan and are not published)
- Before you upload money data, check Settings > Data controls > Improve the model for everyone and switch it off if you want
The method
Prepare the export (ChatGPT: Chat)
Download the year as CSV from your bank. Delete columns you do not need, such as the account number and balance. Keep date, description, amount. Save the original untouched and work on a copy. Open a new chat.
You get: A clean copy with only the columns the job needs.
Tip: Remove account numbers before uploading, never after.
Write your categories first (ChatGPT: Data analysis)
Upload the copy. Paste your category list from your accountant or last year, with a one line rule for each. Ask ChatGPT to read the file and tell you what it sees before it labels anything.
Prompt to copy:
I am uploading a bank export for my business [business type]. Do not label anything yet. Tell me the columns, the date range, the number of rows, any rows with a missing date or amount, and the most frequent 15 descriptions. My categories are: [list with a one line rule each].
You get: Confirmation of columns, date range and row count.
Tip: Add a category called Unsure so doubtful lines have somewhere to go.
Label a sample and fix it (ChatGPT: Data analysis)
Ask for 40 labelled rows from different months. Read each one. Write down every correction as a plain rule, such as "Stripe payouts are income, not refunds".
Prompt to copy:
Label 40 rows from different months using only my categories. Return a table: row number, description, amount, category, one line reason. If a line fits none of my categories or two equally, use Unsure and say why. Do not invent categories.
You get: A sample that shows where its judgment differs from yours.
Tip: Fix rules, not single rows, so the fix carries to the other lines.
Label everything and list the doubtful lines (ChatGPT: Data analysis)
Paste your correction rules and ask for the full file back as a downloadable CSV with a category column, plus a separate table of all Unsure lines and the 20 biggest amounts per category.
Prompt to copy:
Apply my categories and these correction rules to every row: [your rules]. Return the file with a category column added and nothing else changed. Then list every Unsure row, and the totals per category so I can compare with my own figures. If you are guessing, say so.
You get: A categorised file and a short list of lines that need you.
Tip: Sort by amount: the big lines matter most, so check those first.
Spot check and hand over (ChatGPT: Chat)
Pick ten random lines and 5 of the biggest and check each category against your bank. Add each category total to your own bookkeeping sheet and compare. Send the file and the Unsure list to your accountant yourself.
You get: A reviewed file ready for your accountant.
Tip: Tell your accountant it is a draft you checked, so they review your rules.
Where this goes wrong
- Categories are labels, not tax treatment. A line in the right category can still be treated differently for tax.
- Totals can silently drop rows. Compare the row count and the grand total with your bank export.
- Never paste full card or bank numbers; remove them from the file first.
- Have a qualified person check this before you sign, file or send it.
Sources
- ChatGPT Help Center: Data analysis with ChatGPT
- ChatGPT Help Center: Uploading files and audio
- ChatGPT Help Center: Data controls
More like this
- A polite late payment email ladder
- Your spreadsheets, explained and charted
- Pull data from many files into one table
Updated . Written with AI help and checked by an independent review step, as described in our editorial standards.