Skip to content
TakoAPI
Back to skills

bookkeeper

by h4gen

Transportation
501Downloads reported by clawskills.sh
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Meta-skill for pre-accounting automation by orchestrating gmail, deepread-ocr, stripe-api, and xero.

Description

What This Skill Does

Orchestrates Gmail, DeepRead OCR, Stripe, and Xero to automate pre-accounting steps. Detects invoice emails, extracts structured fields via OCR, verifies payment against Stripe charges, and creates accounting entries in Xero with reconciliation status. This is orchestration logic, not a replacement for financial controls.

Connects the full invoice-to-accounting chain across four separate tools in a single automated flow, eliminating manual handoffs between email, OCR, payment verification, and accounting.

When to Use It

  • Automatically processing AWS monthly invoices from email into Xero
  • Matching Stripe charges to vendor invoices at month-end
  • Routing low-confidence OCR extractions to a manual review queue before posting
  • Labeling processed invoice emails in Gmail for audit traceability
  • Creating new vendor contacts in Xero when an unrecognized supplier invoice arrives

Example Workflow

INPUT

User asks: Process today's AWS invoice email and record it in Xero

AGENT
  1. 1

    Scans Gmail for emails matching invoice keywords with PDF attachments from AWS

  2. 2

    Sends the PDF attachment to DeepRead OCR and polls until extraction completes

  3. 3

    Parses structured fields: vendor, invoice number, date, total amount, currency

  4. 4

    Queries Stripe for a matching charge within the configured date and amount tolerance

  5. 5

    Creates an ACCPAY bill in Xero under the Hosting category, marks it paid, links the source PDF, and applies a processed label in Gmail

OUTPUT

Xero bill created for AWS $53.20 marked Paid, source PDF linked, Gmail message labeled as processed, processing log stored with extraction confidence and Stripe match evidence

Requirements

  • MATON_API_KEY environment variable (requires Maton gateway account)
  • DEEPREAD_API_KEY environment variable (requires DeepRead account)

Installation

clawhub install h4gen/bookkeeper

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links