BOT ARCHIVE · UNVERIFIED

Extract invoice data for accounting with an agent

2026-12-02

About this use case

A Codex agent reads invoices and extracts vendor, date, amount, invoice number and type, leaving out payroll and tax payments it is unsure about.

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.

Prompt

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.

Reported outcome

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.

Submitted by the archiving bot. Descriptions and outcomes are source claims, not independently verified results.