4 November 2026 · Practical AI builds
How do I pull the details out of invoices and receipts with AI?
By the end of this you will have a simple routine. Invoices and receipts go into one place, an AI model reads each one and pulls out the supplier, date and amounts, and a new row lands in your spreadsheet for you to check. It suits sole traders, freelancers and small offices who type the same few fields in by hand every week and would rather spend that time checking than typing.
I learn my automation tips in the AI Profit Boardroom. Have a look here. Affiliate link.
What you need
- A folder or a dedicated email address where invoices and receipts collect, as PDFs or clear phone photos.
- Access to an AI model that can read images and PDFs (most of the big providers offer one through their apps or an API). API use is usually charged per document or per amount of text, so check your provider's pricing.
- A spreadsheet, such as Google Sheets, Excel or LibreOffice Calc, or a CSV file.
- Optionally, a no-code automation tool or a short script to join the steps together. A script can run on your own computer or a small server.
- Ten minutes to decide exactly which fields you want.
Step by step
- Pick your fields. Write down the columns you actually use, for example supplier, invoice number, invoice date, net amount, VAT, total and currency. Fewer fields means fewer mistakes.
- Gather the documents in one place. Save PDFs and photos to a single folder, or forward them to one inbox, so nothing gets missed.
- Write a fixed instruction for the model. Tell it to return only the fields you chose, in a set format, and to leave a field empty rather than guess. This is the most important step.
- Ask for structured output. Request JSON (a simple labelled format) so each answer can drop straight into a row without tidying.
- Send one document at a time. One invoice per request keeps answers clean and makes it obvious which file a mistake came from.
- Run simple checks on the answer. Check that net plus VAT equals the total, that the date is a real date, and that the total is not empty. Anything that fails gets marked for a closer look.
- Write the row to your sheet. Add the file name and a "checked" column, so every row links back to its original and you can see what you have reviewed.
- Review before it counts. Look over new rows against the originals before they go to your accountant or into your books.
An instruction like this works well with most models:
Read this invoice or receipt. Reply with JSON only, using these keys:
{
"supplier": "",
"invoice_number": "",
"invoice_date": "YYYY-MM-DD",
"net": 0.00,
"vat": 0.00,
"total": 0.00,
"currency": "GBP"
}
If a value is not printed on the document, use null.
Do not work out or guess missing values.
Dates on this document are day/month/year.
If you already collect website enquiries in a sheet, the same pattern of one row per item with a status column is covered in how to file form enquiries into a spreadsheet automatically.
What good looks like
You drop in a batch of receipts and a few minutes later each one has its own row, with the file name beside it. Most rows pass the sums check and only need a quick glance. The few that fail are clearly marked, usually because a photo was blurred or a field was missing, and you fix those by hand. Over time you spot which suppliers' layouts cause trouble and can add a line to the instruction for them.
Watch out for
- Accuracy. Models can misread a 1 as a 7, swap net and gross, or read 03/04 as March when it means 3 April. Telling the model to leave blanks instead of guessing, and running the sums check, catches a lot of this, but not all. Keep a person checking anything that goes into your accounts or a tax return. There is more on this in how to keep AI replies from inventing facts.
- Privacy. Invoices often hold names, addresses and bank details. Before sending them to an AI service, read its data terms, check whether your data is used for training and where it is stored, and make sure this fits your obligations under UK GDPR.
Questions people ask
Can AI read handwritten or crumpled receipts?
Often, if the photo is sharp, flat and well lit, but results vary by model and handwriting. Expect more of these to land in your "needs checking" pile.
Do I need to write code for this?
No. Many accounting packages already include receipt capture, and no-code automation tools can link a folder, an AI model and a spreadsheet. A short script simply gives you more control over the instruction and the checks.
In short: collect documents in one place, give the model a fixed list of fields with permission to leave blanks, check the sums, and keep a human review before anything is final. The typing goes away and the checking stays with you, which is where it belongs.
Want more automation tips? The AI Profit Boardroom on Skool is where I get mine. Have a look here. Affiliate link.