← Back to library

Fill an expense cover sheet from a card receipt

At Duke, Stephen Toback tried Claude Cowork on a dull chore: reading a purchasing-card receipt and producing a tidy summary page. Cowork wrote and ran its own Python script, hit an error, fixed it and delivered finished files. A brief loss of connection then broke the session, revealing that the work runs in a local VM controlled from the cloud.

  • OutcomeProduce the cover sheet your expense process needs from a receipt PDF without typing the fields in by hand.
  • SetupMinutes
  • LevelStarter
  • CreditStephen Toback
View original
Works with
Claude Cowork

Published Oct 23, 2026Updated Oct 23, 2026AI dry run on sample input: passed Oct 23, 2026Source verified Oct 23, 2026

When should you use it?

  • You reconcile p-card or corporate card purchases monthly
  • The cover sheet format never changes
  • You do not want to install or run scripts yourself

Not for: Time-critical submissions on an unreliable connection; Receipts with data your institution forbids sending to AI tools

What do you need, and what do you get?

You need

  • Receipt PDFs
  • The cover sheet template or field list
  • Your institution's coding rules

You get

  • A filled cover sheet
  • Extracted fields you can check against the receipt

How does it work, step by step?

  1. Pick one well-defined receiptStart small, as the author did, before batching.
  2. Describe the outputGive the template or exact fields: vendor, date, amount, account code, purpose.
  3. Let it run its own codeAllow the agent to write and execute the extraction rather than handing you a script.
  4. Check every fieldCompare against the PDF; amounts and dates are where errors cost you.
  5. Save your outputs as you goCopy finished files out promptly in case a session hangs.

The prompt

Our own prompt, inspired by Stephen Toback and written to work in Claude Cowork. Values in lime are placeholders.

Prompt0 variables
This folder holds one card receipt as a PDF plus the summary page I fill out. Extract vendor, purchase date, amount, tax, card last four digits and item description. Fill the template and save it as a new file next to the receipt. Also write the extracted fields to a small CSV. If a field is unreadable or missing, leave it blank and list it for me; do not guess amounts or dates.

Inspired by Stephen Toback: What Claude Cowork Actually Does — And What It Doesn’t. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.

What can go wrong?

  • A dropped connection mid-task left the author's session stuck and hard to recover.
  • Asking for a reusable app gave little beyond what a normal chat can write; the gain is in execution.

Our take

Stephen Toback frames the value well: for non-developers, the gap between a script and a finished result is the entire problem, and a tool that writes, runs and fixes its own code closes it. Receipt-to-cover-sheet is an ideal first test because the input is one document and the output has a fixed shape you can check against the original. Do check every field, especially amounts, dates, vendor names and account codes, since an extraction error on an expense form becomes an audit problem. The crash is the practical lesson. Because the session depends on both a local virtual machine and a cloud connection, a short network drop can lose work in progress, so save or copy outputs out as soon as they appear rather than at the end. Hold off on deadline-driven work until you have seen how it recovers. Confirm with your finance office that receipts may be processed by the tool, as card data and vendor details can fall under institutional rules on approved software.

Where the time goes back: A recurring manual transcription step becomes a quick check of fields that were filled for you.

FAQ

What does this add over a chat window?
Execution: the agent runs and debugs the script itself and returns finished files, with no terminal for you.
Is it reliable?
The extraction worked; the crash was a connectivity issue in a preview product, so keep copies.

Source and credit

Inspired by Stephen Toback. We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.

Inspired by
What Claude Cowork Actually Does — And What It Doesn’t
Creator
Stephen Toback
Published on
sites.duke.edu
Original date
Feb 25, 2026
License
Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
Originally for
Claude Cowork
AI dry run
Oct 23, 2026: passed. Dry-run tested by our AI test agent on sample input. PASS: Gates held on desk check; no live sends or purchases.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails.
Verified
Oct 23, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.

Are you the creator? Claim or correct this page.

More in Finance & Accounting

All 62 Finance & Accounting playbooks →

Related playbooks

Finance & AccountingSkill✓ AI dry run

Chase overdue invoices in the right tone

Draft reminders for every overdue invoice, gentle for good customers and firm for repeat late payers.

Credit: Anthropic

Under an hour
Finance & AccountingPrompt✓ AI dry run

Draft a client's month-end summary from their files

Point an assistant at a folder of a client's month-end files and get a plain-English first draft of the monthly summary with income, expenses and the biggest changes, plus flags for anything odd or missing.

Credit: Financial Cents

Minutes
Finance & AccountingPrompt✓ AI dry run

Log a work trip's pile of receipts in one spreadsheet

Get every receipt from a work trip logged in a spreadsheet with dates, vendors, categories and totals, and the unreadable ones flagged.

Credit: Ruben Hassid

Minutes