inbox receipts to books

    1

    A resumable, ledger-backed pipeline to collect, archive, and verify Gmail receipts into bookkeeping platforms.

    Free

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    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

    ComponentStatusDetails
    WorkspaceInitialized~/Documents/taxes-2024
    PeriodActiveJan 1, 2024 - Dec 31, 2024
    DestinationReadyXero (via Email Ingest)
    LedgerReadyledger.json created (0 rows)
    LabelPendingReceipts/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

    1. Initialize the workspace by defining the period, fiscal year, and target bookkeeping adapter.
    2. Classify candidate emails as business receipts, excluded items, or "needs user" cases using the business profile.
    3. Retrieve documents via attachment extraction, HTML-to-PDF conversion for body-only receipts, or browser-based link following.
    4. 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables

    Allowed Hosts

    gmail.googleapis.com

    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.

    Listed8 days ago

    What's inside

    Frequently Asked Questions

    Unlike a simple prompt that can lose its place, this skill uses a persistent ledger to track every receipt. If your internet drops or a destination platform throttles your upload, the skill resumes exactly where it stopped without creating duplicates or missing files.

    The skill supports any platform with an 'email-in' feature, file upload capability, or API, including QuickBooks, Xero, Dext, and FreshBooks. It also creates a local PDF archive of every receipt, providing a permanent backup independent of your accounting software.

    This skill is designed for environments that support Python 3.9+ execution. You will need a local workspace to store the ledger and archived files, along with API access or app-specific passwords for your Gmail account.

    The package includes the core Python automation scripts, the ledger management system, pre-configured Gmail search queries, and documentation for connecting to your specific bookkeeping destination.

    Yes, the skill is designed to handle both attachments and receipts contained within the body of an email. It can convert HTML email bodies into PDF format to ensure all data is captured and formatted correctly for your accounting software.

    New in Finance & Accounting

    Free