← Back to library

Pull a tax audit document packet from your books

gtwy (@Gtwy), a business owner facing a state sales tax audit, connected an AI of their own to email, SharePoint and QuickBooks to do discovery instead of printing invoices and hunting receipts. Receipts, invoices and reports were gathered into a packet for the auditor.

  • OutcomeConnect an assistant to your accounting, file storage and email so it can assemble the invoices, receipts and summaries an auditor asks for.
  • SetupAn afternoon+
  • LevelAdvanced
  • Creditgtwy (@Gtwy)
View original
Works with
Custom agent

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

When should you use it?

  • An auditor wants documents by period
  • Receipts live in email and folders
  • You keep re-printing the same invoices

Not for: Filing positions or arguing law with the auditor; Replacing your tax representative

What do you need, and what do you get?

You need

  • Accounting system access
  • Document storage
  • Email inbox
  • The auditor's request list

You get

  • Organized packet per request
  • Missing-document list
  • Receipts attached to transactions

How does it work, step by step?

  1. Read the requestTurn the auditor's list into numbered items with periods and document types.
  2. Search systemsFor each item, pull matching invoices and receipts from books, storage and email.
  3. Match and attachAttach each receipt to its transaction and note any with no match.
  4. Build the packetExport a folder per request with an index sheet.
  5. Review with your adviserYour accountant or representative checks the packet before it goes out.

The prompt

Our own prompt, inspired by gtwy (@Gtwy) and written to work in Custom agent. Values in lime are placeholders.

Fill in the blanks (optional; the copied prompt uses your values)

Prompt5 variables
Auditor request list: {requests}. Period: {period}.
For each item, search {accounting_system}, {file_storage} and {inbox} for matching invoices and receipts.
Return an index: request number, documents found with links, documents missing. Do not modify transactions or send anything.

Inspired by gtwy (@Gtwy): my accountant fucked up and I just got hit with a $52,400 tax bill before interest and penalties. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.

What can go wrong?

  • Write access to the books can create errors; start read-only and review attachments.
  • Sending documents outside the request scope can widen an audit.

Our take

Audits are mostly document retrieval, and that is exactly what a connected assistant is good at. The reusable part is wiring the books, file store and mail to pull what the auditor asked for, not the personal dispute with an accountant. Start by turning the auditor's list into numbered items with periods and document types. For each item, the assistant searches the books, file storage and email, attaches each receipt to its transaction and notes any that have no match. Export a folder per request with an index sheet so the auditor can follow it. Start with read-only access to the books, since write access can create errors at the worst time. Send only what was asked for; documents outside the request can widen an audit. Your accountant or representative should check the packet before it goes out, and arguing positions with the auditor stays with them. Keep a copy of exactly what was sent, with the date.

Where the time goes back: Gathering documents for each audit request goes from days of printing to an organized folder you review.

FAQ

Can it pay vendors?
In the post it queues checks to print; a person still approves and signs.
Do I still need an accountant?
The poster says yes, for payroll and annual taxes.

Source and credit

Inspired by gtwy (@Gtwy). We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.

Inspired by
my accountant fucked up and I just got hit with a $52,400 tax bill before interest and penalties
Creator
gtwy (@Gtwy)
Published on
X
Original date
Oct 2, 2026
License
Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
Originally for
Custom agent
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, bookings 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 24, 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 & AccountingWorkflow✓ AI dry run

Read invoice photos with a reject gate and QR override

Turn uploaded invoice photos and PDFs, including Arabic and handwritten ones, into clean JSON fields in n8n: the model first says whether the file is an invoice at all, code then tidies digits and dates, exact values decoded from the invoice QR code replace the model's reading where available, and anything that fails is refused and removed before it is stored.

Credit: Nour_Aldeen_Tofi

An afternoon+
Finance & AccountingWorkflow✓ AI dry run

Auto-file emailed invoices by month for your accountant

Every invoice that reaches Gmail is saved as a PDF in a year and month folder in Google Drive and logged in that month's sheet, ready to share with your accountant at month end.

Credit: Ioana Frincu

Under an hour
Finance & AccountingPrompt✓ AI dry run

Catch repeat vendor bills and missing tax lines

Supplier invoices are checked against history for duplicates, odd amounts and missing tax before you approve them.

Credit: u/DowntownInspection on r/ukaccounting

Under an hour
Finance & AccountingWorkflow✓ AI dry run

ChatGPT enters vendor bills in QuickBooks via Zapier MCP

AP staff ask in plain language and ChatGPT reads the invoices, creates any missing vendors and enters the bills in QuickBooks Online.

Credit: Robin Joseph (robintrainward, Trainward Consulting)

Under an hour