bookkeeper
由 h4gen 提供
Transportation简介
Meta-skill for pre-accounting automation by orchestrating gmail, deepread-ocr, stripe-api, and xero.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
User asks: Process today's AWS invoice email and record it in Xero
- 1
Scans Gmail for emails matching invoice keywords with PDF attachments from AWS
- 2
Sends the PDF attachment to DeepRead OCR and polls until extraction completes
- 3
Parses structured fields: vendor, invoice number, date, total amount, currency
- 4
Queries Stripe for a matching charge within the configured date and amount tolerance
- 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
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
前置要求
- MATON_API_KEY environment variable (requires Maton gateway account)
- DEEPREAD_API_KEY environment variable (requires DeepRead account)
安装
clawhub install h4gen/bookkeeper运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。