Extract invoice data for accounting with an agent
A Codex agent reads invoices and extracts vendor, date, amount, invoice number and type, leaving out payroll and tax payments it is unsure about. ·
Done withCodex
- What they did
- The Reddit commenter described using Codex as a reviewer over a folder of invoice files. They uploaded invoices, had the agent extract vendor, date, amount, invoice number, and classify the payment type, then told it to skip anything it was unsure about, especially payroll and tax payments; a person reviewed the output and handled exceptions.
- How it went
- They said it worked well enough to pull structured fields from invoices while avoiding riskier items by leaving uncertain payroll and tax payments out. The tradeoff was that it was intentionally incomplete and still depended on human review for anything ambiguous.
Try it yourself with Codex
Read every invoice file in [folder path] and write a spreadsheet (CSV) with one row per invoice: vendor, date, amount, invoice number, and type of expense. Leave out anything that looks like a payroll or tax payment, or that you are unsure about, and list those in a separate file called needs-review.csv with a note on why. You are done when every file appears in one of the two lists; do not rename or delete any of my files.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: Reddit · Nov 24, 2026
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Investigate market moves and alerts with an agent on your charts
OpenChart lets Claude or Codex annotate chart setups, write indicators, and investigate price alerts, saving research to a local workspace.
Port Codex's computer-use tool to other harnesses
The poster pointed Gemini at a folder and had it adapt Codex's computer-use tool for Antigravity, finishing in under 10 minutes.
Run a solo company with eight agent departments
A founder set up CEO, CFO, COO, lawyer, accountant, marketing, CTO, and improver agents that share memory and consult each other.
Create assessments and grade papers for classes
A teacher's co-teacher uses ChatGPT to create assignments and tests, with commenters also using it to grade papers and create texts.
Update fields on 400 ERP transactions in the browser
The author had Claude's Chrome extension edit 2 fields across about 400 ERP transactions; it was slow, asked for confirmation at each step and burned token limits, but ran in the background.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.