Sort and rename messy invoices for taxes with Claude Code
- Source date:
- Last verified:
- Method:
- How we verify
Evidence: Article or interviewA newsletter, journalist or interview account of what happened.
Outcome
Claude Code reads each file in a messy invoice folder, renames it to 'YYYY-MM-DD Vendor - Invoice - ProductOrService.pdf' and files it in the right folder.
Agent
Prompt Recreated prompt
The source did not publish its exact prompt. This one is our reconstruction from what the source describes.
Not sure how to start? Tell me what you're trying to get done and I'll help you turn it into a clear request. Goal: Sort my messy invoice folder: rename each file clearly and move it into the right folder. Quick check first: Which folder holds the invoices, and how do you want them grouped? What I need from you: - The folder of invoices - Your folder structure (for example by year or vendor) Rules: - Read each file and rename it as 'YYYY-MM-DD Vendor - Invoice - ProductOrService.pdf'. - Move each invoice into the right folder. - If something is missing or unclear, ask me instead of guessing. - Don't delete anything. Show me a few examples before doing the whole folder. Output: A tidy, renamed folder plus a list of files you weren't sure about. If any of this is unclear, tell me what you have and I'll help fill the gaps. You'll know it worked when: every invoice has a clear name and sits in the right folder for tax time.
Source
https://www.lennysnewsletter.com/p/everyone-should-be-using-claude-code
By Martin Merschroth (via Lenny's Newsletter) · Published Oct 14, 2025 · Added Oct 15, 2026 · Last verified Oct 15, 2026
Related cases
- Split, rename and sort about 200 scanned invoices with Claude CoworkRecreated promptEvidence: Described by poster
After the poster scanned almost 200 invoices, Claude Cowork split them out, renamed them, sorted them into folders and created a summary Excel file.
Claude Cowork · Ops · Source date:
- Match a tax-prep checklist against a receipts folder with Claude CoworkRecreated promptEvidence: Described by poster
The poster says matching a spreadsheet of items for their accountant against a folder of receipts usually took 4–6 hours, and that with Claude Cowork it took about an hour.
Poster says:4–6 hour job done in about an hour
Claude Cowork · Ops · Source date:
- Prepare an Indian income tax return (ITR-3) with Claude CodeRecreated promptEvidence: Described by poster
Given tax documents and a year of bank statements, Claude Code reconciled the figures against the poster's AIS (annual information statement), caught 2 mistakes that could have triggered notices, and computed the tax; the poster then filed.
Poster says:2 mistakes caught
Claude Code · Ops · Source date: