Skip to main content

A Grok Bot receipt template files tax PDFs by prefix and logs them automatically

GitHubGitHubjwgrenning2026-11-23

Life assistantGetting startedSource read in fullRead first
GitHubGitHubjwgrenning2026-11-23

Open original

Overview

People collecting reimbursement and tax evidence put prefixed receipt PDFs into a Dropbox inbox. A weekday Grok Bot Routine on a registered Mac sorts, renames and logs them.

Workflow

  1. What it is: An open-source setup for scheduling receipt PDF filing. To save reimbursement or tax evidence, put prefixed PDFs in the inbox. bbb tools.pdf is business with expense code tools. The bot reads receipts, including phone photos, renames to YYYY-MM-DD-code-Vendor-$total.pdf, files as business, personal or medical, and logs.
  2. Grok Bot parts used: One Routine, registered computer file operations, receipt image reading and owner messages. routine.md defines the schedule (example weekdays 9 AM, time zone set in config). config.example.yaml uses computer to select the registered machine, e.g. My Mac. The README says the bot reads phone photos and sends what it filed after a run. Not part of Grok Bot: no API calls or backend, just your own computer and Dropbox or another configured folder.
  3. You need: An account, a registered computer and an inbox folder. Default ~/Dropbox/receipts can change. It only handles PDFs. Copy config.example.yaml to config.yaml and edit. Required paid plan: Not stated in the source.
  4. Install: Give the repo files to the bot to set up with getting-started.md.
    • Step 1: Copy config.example.yaml to config.yaml and set folders, prefixes, categories, filename pattern, logs and schedule.
    • Step 2: Give files or paths to the bot and ask it to follow getting-started.md (README Use section).
    • Step 3: Add entries under categories later with prefix, destination, file pattern and items log.
  5. After install: Scan, read, file and log on schedule, asking the owner if uncertain.
    • At 9 AM weekdays scan the receipt inbox and prefixed files in the root (default ~/Dropbox).
    • Read and rename receipts, filing by prefix. For a missing vendor, look up the printed address or use unknown if that fails.
    • Append a row in CSV per file. For itemized receipts make a separate markdown table with tax, tip, shipping and discount on separate lines.
    • Log refunds, cash back and credits to receipt-refunds.md. Use receipt-other.md for unusual items like statements, notices and uncertain receipts.
    • Ask the owner about missing prefixes or expense codes. Report an unreachable computer once. Stay quiet with no new files if quiet_when_nothing_new is enabled.
  6. Did the author run it: The repository has no run records from the author. The README describes files and usage, with no run logs, results or screenshots.

Key points and results

  • Maturity: At fetch on 2026-11-23 it was several hours old, with 1 commit, 0 stars, 0 forks, 0 open issues or PRs and no license.
  • Permissions and boundaries: Handle only inbox PDFs on the registered computer in config. never_overwrite is true. Ask about missing prefixes and codes instead of guessing. No sending, buying or contacting third parties.
  • Known limits: PDFs only. Use unknown if the vendor cannot be read or found from the address. Missing medical provider or amount leaves the filename component empty. Use the file's date for checks or statements with no card transaction date. Required plan or system version: Not stated in the source.
  • Worth borrowing:
    • Short prefixes (bbb / ppp / med-a-) let the person dropping the file choose the category and the bot carry it out (categories in config.example.yaml).
    • Four ledgers separate CSV totals, markdown items, refunds and other exceptions (log and special_logs in config.example.yaml).
    • Set quiet_when_nothing_new and one alert for a disconnected computer in the Routine to reduce interruptions (routine.md).

Source

Platform
GitHub
Author
jwgrenning
Published
Categories
Life assistant, Getting started

What this evidence label means

Source read in full

We read the source (post, article or transcript). That only means the original was read. It does not mean this site reproduced the author's results.

Read the editorial and evidence policy

Other cases in this scenario

This unofficial community project is independent of xAI. xAI has neither approved nor endorsed it. No sign-up. The methods and figures come from the original authors.