- Home
- Skills
- Finance & Accounting
- inbox receipts to books
inbox receipts to books
A resumable, ledger-backed pipeline to collect, archive, and verify Gmail receipts into bookkeeping platforms.
Free
Works with the AI Agents you already use
inbox receipts to books
Example session with this skill installed
I need to get all my business receipts from Gmail for 2024 into my Xero account. My workspace is in ~/Documents/taxes-2024.
- Read your context and instructions
- Compiled the inbox receipts to
I have initialized the workspace at ~/Documents/taxes-2024 and prepared the 2024 fiscal year pipeline. I've detected your Gmail connection and loaded the Xero destination adapter.
Setup Summary
| Component | Status | Details |
|---|---|---|
| Workspace | Initialized | ~/Documents/taxes-2024 |
| Period | Active | Jan 1, 2024 - Dec 31, 2024 |
| Destination | Ready | Xero (via Email Ingest) |
| Ledger | Ready | ledger.json created (0 rows) |
| Label | Pending | Receipts/2024 |
Current Phase: Phase 1 - Business Profile
I need to establish which vendors are relevant to your business to avoid personal noise.
Next steps
1.
Review Profile: I will now ask 5 brief questions about your common vendors (Amazon, Uber, etc.) to build your receipts-profile.md.
2. Run Probe: After the profile is set, I will process ONE receipt through to Xero to verify the connection.
3. Start Collection: Once the probe is verified, I will begin the bulk scan of your 2024 emails.
Connects securely to your tools. The creator never sees your data.
About this skill
Managing business expenses across Gmail, local storage, and bookkeeping platforms is a manual grind that leads to missing deductions and reconciliation errors. This skill implements a resumable, ledger-backed pipeline that finds every receipt in a mailbox, backs it up locally, and delivers it to your accounting destination with verified proof of arrival.
What it does
- Automated Collection scans Gmail for receipts, invoices, and expenses for any given period using broad and vendor-specific queries.
- Local-First Backup saves every document to a local workspace before delivery, ensuring you have a permanent archive regardless of platform status.
- Verified Delivery moves rows to "done" only after confirming arrival in the destination (QuickBooks, Xero, Dext, etc.), catching silent failures and duplicates.
- Queue Management batches items requiring human input into a "Needs You" list to prevent constant interruptions during long runs.
- Three-Way Reconciliation audits counts across the mailbox, local files, and the destination to ensure zero data loss.
How it works
- Initialize the workspace by defining the period, fiscal year, and target bookkeeping adapter.
- Classify candidate emails as business receipts, excluded items, or "needs user" cases using the business profile.
- Retrieve documents via attachment extraction, HTML-to-PDF conversion for body-only receipts, or browser-based link following.
- Deliver and Verify receipts in batches, checking for bounces or throttling before marking items as verified in the ledger.
Frameworks & tools
The skill uses Python 3.9+ for ledger management and reconciliation, Google Apps Script for optional backend automation, and openpyxl for Excel tracking. It integrates with Gmail and any bookkeeping tool supporting email-in, upload, or API ingestion.
Why this beats prompting it yourself
Standard prompts fail when a session crashes or a destination silently rejects a file. This skill uses a persistent ledger.json as a single source of truth, allowing it to resume exactly where it left off weeks later without double-sending or skipping items.
Use cases
- Collect and prep an entire year of Gmail receipts for a tax accountant.
- Migrate expense history from a mailbox into a new Xero or QuickBooks instance.
- Audit a period to find missing invoices by comparing bank lines to retrieved receipts.
- Set up an ongoing Gmail-to-Dext workflow with monthly reconciliation reports.
Known limitations
Requires Python 3.9+ installed locally. Browser-based link retrieval may require manual intervention for sites with complex 2FA or bot detection. Body-only email conversion requires a PDF printer.
Requires Python 3.9+ and openpyxl. Manual intervention needed for vendor portals with 2FA or complex bot detection. Body-only conversion depends on local PDF printing capability.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 8 days ago
- Free with an Agensi account
- Accounts
Gmail
Permissions
Allowed Hosts
The platform details in the table (where to find each forwarding address, and so on) are starting points. The skill checks them with one real receipt before sending any batch.