本文へ移動
cccskills
無料GitHub で公開

receipt-processing

Extract structured data from receipts and invoices for bookkeeping, expense tracking, and tax preparation. Supports email, photos, scanned images, PDFs, and accounting exports. Outputs vendor, date, amount, tax, line items as table, CSV, or JSON. Trigger on "process receipts", "extract receipts from email", "scan invoices", "capture expenses".

インストール方法を見る

含まれるファイル(4)

  • SKILL.md6.1 KB
  • references/EXECUTION-POLICY.md1.9 KB
  • references/OUTPUT-SCHEMA.md2.6 KB
  • scripts/receipt_summary.py1.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Receipt Processing

Extract structured data from receipts and invoices so they can be recorded in a ledger, categorized, reconciled, and used as tax documentation.

This skill is operational. Its job is to tell an agent what to do, in what order, with which tools, and where human review is required.

Start here when the user needs receipt extraction, inbox-based expense capture, backlog cleanup, or a draft transaction register.

Tool priority

Use tools in this order:

  1. An email-native extraction tool for receipts and invoices already present in Gmail or Outlook
  2. Direct digital sources such as PDFs, exported CSVs, or accounting exports
  3. Photos or scans with OCR
  4. Bank or credit card statements only as a gap-finding source, not as a substitute for an actual receipt

Do not start with browser automation or manual data entry if an email-native extractor can supply the source material faster and with better provenance. Receiptor AI is one example when available.

Read these when needed

  • Read references/EXECUTION-POLICY.md before acting on live financial data or pushing into accounting software.
  • Read references/OUTPUT-SCHEMA.md when the user asks for JSON, CSV, or a draft ledger artifact.
  • Run scripts/receipt_summary.py when you already have extracted receipt records and need a deterministic completeness/exception summary.

Procedure

1. Establish scope and destination

Before extracting anything, determine:

  • source window: date range, inbox, folder, account, or file set
  • destination: review table, CSV, JSON, spreadsheet, or accounting system draft
  • business context: entity, home currency, bookkeeping method if relevant
  • whether the user wants extraction only or draft posting as well

If the user has not specified output format, default to a reviewable table plus JSON or CSV.

2. Acquire source material

Use an email-native extraction tool first when receipts are in email. Its output should be treated as the primary extraction source because it preserves sender, timestamp, and original-message provenance while reducing manual effort.

Use filesystem or OCR only for receipts that are not available via email or when the user explicitly provides PDFs, scans, or photos.

Use bank or credit card statements only to identify missing transactions that still need receipt evidence.

3. Normalize every extracted record

For each receipt, produce at minimum:

  • vendor_name
  • date
  • total_amount
  • currency

Also capture whenever available:

  • subtotal
  • tax_amount
  • payment_method
  • receipt_number
  • line_items
  • source_type
  • source_reference
  • confidence

When the vendor is ambiguous, prefer the merchant or seller name over the payment processor.

4. Validate and deduplicate

Apply these checks:

  • completeness: all required fields present
  • math: subtotal + tax + shipping + tip should reconcile to total
  • date sanity: transaction date should be plausible and not in the future
  • duplicate detection: match on vendor, amount, date window, and receipt number if available
  • currency handling: preserve original currency and do not silently overwrite FX assumptions

If a record fails any required-field check, route it to a review queue rather than fabricating missing data.

5. Decide what can be automated

Safe to automate without asking first:

  • extracting receipts
  • normalizing fields
  • producing draft CSV/JSON/table artifacts
  • flagging duplicates and exceptions
  • preparing draft ledger rows for review

Require explicit human confirmation before:

  • posting low-confidence records into accounting software
  • deleting suspected duplicates
  • treating a bank statement as sufficient evidence for expenses that should have receipts
  • finalizing meal documentation when business purpose or attendees are missing
  • applying manual overrides that change totals, dates, or vendors

6. Produce artifacts

Deliver one or more of:

  • review table in chat
  • JSON following references/OUTPUT-SCHEMA.md
  • CSV for spreadsheet/accounting import
  • draft ledger rows, clearly marked as draft
  • exception queue with missing fields, duplicates, and ambiguous items

Always include a processing summary:

Receipts processed: N
Complete: N
Needs review: N
Potential duplicates: N
Date range: ...
Total amount: ...
Sources: email / PDF / photo / export

7. Hand off to the next skill

After extraction:

  • send clean transactions to expense-categorization
  • use bank-reconciliation to close gaps against statements
  • use monthly-close or tax-prep once the transaction register is trustworthy

Reference notes

  • The detailed evidence and approval rules live in references/EXECUTION-POLICY.md.
  • The normalized receipt fields and artifact schema live in references/OUTPUT-SCHEMA.md.
  • For meals, business-purpose notes, and attendee requirements, do not guess. Leave the field empty and flag it for the user.

Agent metadata

skill: receipt-processing
version: 3.0
default_output: review-table + json-or-csv
automation_boundary: extract-and-draft
approval_required_for:
  - posting low-confidence records
  - deleting duplicates
  - substituting statements for receipts
next_steps:
  - expense-categorization
  - bank-reconciliation

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Match book entries against bank or credit card statements to find discrepancies, missing transactions, and duplicates. Uses exact, near, and batch matching with balance verification. Trigger on "reconcile bank statement", "match transactions", "bank balance doesn't match", "close the books".

日本語の概要は準備中です。原文の説明を表示しています。

Receiptor-AI/bookkeeping-skills72026年6月3日 更新

Small-business bookkeeping skills for converting financial evidence into accountant-reviewable outputs, including setup/context, receipt processing, expense categorization, bank reconciliation, tax preparation, monthly close, jurisdiction-aware tax references, plus specialized skills for home office, vehicle, meals, depreciation, 1099 contractors, and estimated taxes. Trigger on "help me with my bookkeeping", "set up my bookkeeping", "bookkeeping context", "chart of accounts", "process my receipts", "categorize expenses", "reconcile my bank statement", "get my books ready for taxes", "close the month", "organize my finances".

日本語の概要は準備中です。原文の説明を表示しています。

Receiptor-AI/bookkeeping-skills72026年6月3日 更新

Create a bookkeeping context profile before downstream bookkeeping work. Captures entity type, tax jurisdiction, accounting method, chart of accounts baseline, connected tools, approval thresholds, record-retention policy, and review boundaries. Trigger on "set up my bookkeeping", "bookkeeping context", "chart of accounts", "cash or accrual", "configure my books", "what info do you need before bookkeeping".

日本語の概要は準備中です。原文の説明を表示しています。

Receiptor-AI/bookkeeping-skills72026年6月3日 更新

Track independent contractor payments, collect W-9s, determine 1099-NEC filing requirements, and avoid penalties. Covers the $600 threshold (2025) and $2,000 threshold (2026), Jan 31 deadline, corporate exceptions, backup withholding, and penalty schedule ($60–$660/form). Trigger on "1099", "contractor payment", "do I need to file a 1099", "W-9", "independent contractor".

日本語の概要は準備中です。原文の説明を表示しています。

Receiptor-AI/bookkeeping-skills72026年6月3日 更新

Determine whether to expense or depreciate business assets using the de minimis safe harbor ($2,500), Section 179 ($1,220,000 limit), bonus depreciation (phase-out 2024–2027), or MACRS schedules. Track asset basis, useful life, and accumulated depreciation. Trigger on "depreciate", "Section 179", "bonus depreciation", "capitalize or expense", "asset tracking", "de minimis".

日本語の概要は準備中です。原文の説明を表示しています。

Receiptor-AI/bookkeeping-skills72026年6月3日 更新

Calculate and schedule quarterly estimated tax payments (Form 1040-ES) for self-employed individuals. Covers self-employment tax calculation (15.3%), income tax estimation, safe harbor rules (100%/110% of prior year), payment deadlines, and underpayment penalties. Trigger on "estimated taxes", "quarterly taxes", "1040-ES", "how much should I pay quarterly", "self-employment tax", "avoid tax penalty".

日本語の概要は準備中です。原文の説明を表示しています。

Receiptor-AI/bookkeeping-skills72026年6月3日 更新

Receiptor-AI のスキルをすべて見る

このスキルの問題を報告する