AI Does It For You
Scan Receipts Into Excel With AI — No Manual Typing
Give AI a folder of receipt photos or PDFs and have it create a clean spreadsheet while leaving every original receipt untouched.
The problem
You have a pile of receipts saved as phone photos, scans, screenshots or PDFs. You need a spreadsheet with the date, shop or supplier, receipt number, subtotal, tax/VAT, total and currency for each one. Typing every receipt manually is slow. An AI coding agent can inspect the receipt files and build the spreadsheet for you. But this is financial data, so it needs checking, and the AI must never guess a number it cannot read. Receipts are harder than typed invoices: they are often crumpled, faded, photographed at an angle or saved in mixed formats such as JPG, PNG, HEIC and PDF.
What you need
- A folder containing COPIES of your receipt files, for example Receipts-AI-Working-Copy next to your untouched Receipts-Originals folder
- Codex or Claude Code
- A computer
- Permission to use the receipt information
Safety first
Receipts can contain names, addresses, card information, loyalty numbers, customer information and business information. Only use receipts you are authorised to process, do not expose unnecessary sensitive information, and never ask AI to collect or reproduce full payment-card details. The agent must NOT modify, rename, move, delete or overwrite any original receipt or existing file. It must not guess unreadable numbers, assume tax/VAT is included, calculate missing tax, assume currency from location alone, or invent receipt numbers. All output goes into ONE NEW spreadsheet or CSV. That spreadsheet is a working extraction, not an accounting record: the receipts remain the source of truth, and this tutorial is not accounting or tax advice.
Copy-paste prompt
I have a folder containing receipt photos and/or receipt PDFs. I want you to create a spreadsheet from them. IMPORTANT SAFETY RULES: - Do not modify, rename, move or delete any original receipt. - Do not overwrite any existing file. - Work only inside the folder I approve. - Create all new output in a separate folder. - Do not guess unreadable information. - Do not reproduce full payment-card numbers or other unnecessary sensitive payment details. FIRST: Inspect the folder only. Tell me: 1. how many receipt files you found; 2. which file types are present; 3. whether any files appear unreadable, duplicated or unsupported. Do NOT process the full folder yet. NEXT: Select 3 representative receipts. Extract these fields: - Source Filename - Receipt Date - Supplier / Store - Receipt Number - Subtotal - Tax / VAT - Total - Currency - Payment Method - Notes - Review Status RULES: - If a field is not shown, leave it blank. - If information appears present but cannot be read reliably, write UNREADABLE. - If you are unsure about an extracted value, mark Review Status as NEEDS REVIEW. - Never invent a value. - Never assume a tax amount. - Never assume currency unless it is shown or unambiguous from the receipt itself. - If a receipt shows several dates and you cannot tell which is the purchase date, mark Review Status as NEEDS REVIEW. - If a receipt looks like a duplicate of another, mark Review Status as POSSIBLE DUPLICATE. Do not remove either record. Show me the 3-receipt sample as a table. STOP. Wait for my approval before processing the remaining receipts. After I approve: Process the remaining files using the same rules. Create a NEW CSV or Excel-compatible file. Do not change the originals. At the end report: - receipts processed; - receipts successfully extracted; - receipts marked NEEDS REVIEW; - unreadable files; - duplicate-looking files; - output file location.
When you are ready to approve
Approval prompt
The 3-receipt sample looks correct. Continue with the remaining receipt files. Use exactly the same columns and extraction rules. Remember: - originals must remain untouched; - do not guess unreadable values; - mark uncertain rows NEEDS REVIEW; - do not overwrite existing files. When finished, report the totals and the exact location of the new spreadsheet.
Steps
- Put COPIES of the receipts into one working folder. They can be receipt photos, screenshots, scans or PDFs, and mixed file types are fine.
- Open that folder with Codex or Claude Code, then paste the first supplied prompt. You do not need to write code.
- Let the agent inspect the folder and extract ONLY 3 sample receipts. Nothing in the source folder changes. For example, a photo named receipt-014.jpg showing Office World, 14 September 2026, subtotal $42.50, tax $3.40 and total $45.90 should become: receipt-014.jpg | 2026-09-14 | Office World | [blank if no receipt number shown] | 42.50 | 3.40 | 45.90 | USD | [blank if payment method not clearly shown] | | OK.
- CHECK THE SAMPLE CAREFULLY. This is the most important step. Compare the date, supplier, subtotal, tax and total against the actual receipt images. If a total looks like $8?.42 on a faded receipt, the agent must NOT decide it probably says $89.42: it should write Total: UNREADABLE and Review Status: NEEDS REVIEW. Receipts can also show several dates, such as purchase, printing and payment dates. The agent should use the purchase date when it is clear, and mark NEEDS REVIEW rather than silently choosing one. If tax/VAT is not shown on the receipt, the field should be blank, not calculated. Only approve if the structure looks right.
- When you are happy with the sample, paste the approval prompt. The agent processes the remaining receipts and creates a NEW spreadsheet. Receipts that look like duplicates (same supplier, same date, same total, same receipt number, or a visually identical image) should be marked POSSIBLE DUPLICATE, never deleted or left out automatically.
What success looks like
Before: you have a folder full of receipt images and PDFs. After: you have a new spreadsheet with one row per receipt, showing the source filename, date, supplier, receipt number where available, subtotal, tax/VAT, total, currency and review status. You also know exactly which receipts need manual checking, and the original receipts have not been changed. AI extraction can save substantial typing, but financial records need verification. Always check totals, dates, tax/VAT, currency, duplicate-looking receipts and anything marked NEEDS REVIEW. The receipt image or PDF remains the source of truth, so do not treat the generated spreadsheet as automatically accounting-ready.
If it goes wrong
If AI guesses values or processes everything without stopping, send this: STOP. Do not process any more receipts. Go back to sample mode. Use only 3 receipt files. For each value: - copy only what is actually visible; - leave missing fields blank; - use UNREADABLE when text cannot be read; - use NEEDS REVIEW when uncertain. Do not guess. Do not modify any source file. Show me the corrected 3-row sample and wait for approval.
Next useful tutorial
Turn a Folder of Invoice PDFs Into a Spreadsheet With AIClean a Messy Customer Spreadsheet With AI