中小企業の経営者が月末決算を進めるための案内です。 以下の作業を順序立てて支援します: - QuickBooks(会計管理ソフト)の記録と PayPal、Square、Stripe などの決済サービスの売上データを照合する - 費目が未分類のままになっている取引を指摘する - 重複した取引や不審な記録を見つけ出す - 領収書が揃っていない取引を洗い出す - 損益計算書の内容をわかりやすい文章で作成する - Excel ファイルと 1 ページの PDF にまとめた決算資料をエクスポート(出力)する 次のような場合に使用: ユーザーが「月末決算をやりたい」「決算する」「照合してほしい」「何が足りないのか」「損益計算書が見たい」と言った場合、または「今月売上が増えた(減った)理由は何か」「利益率が変わった理由は」と質問した場合
Walks an SMB owner through month-end close: reconciles QuickBooks against PayPal (and Square/Stripe) settlements, flags uncategorized transactions, suspicious duplicates, and missing receipts, then writes a plain-English P&L narrative and exports a close packet (xlsx + one-page PDF). Use when the user says "close the month," "month-end," "reconcile," "what's missing," "P&L," or asks why revenue or margin changed this month.
Connect QuickBooks and at least one payment processor (PayPal, Square, or Stripe), then say "let's close the month." Claude walks you through each step of the checklist, pausing for your input at each gate before moving forward.
If a connector is missing, Claude falls back to asking for a CSV export — it won't silently skip a step.
Work through these steps in order. Each step has a completion state; don't advance until the current step is settled.
Ask the user which month to close. Default to the prior calendar month if they don't specify. Confirm before pulling any data.
Fetch:
Flag immediately:
Present the count ("14 transactions need a category") and list them for the user to classify before proceeding. Don't advance with open uncategorized items unless the user explicitly says "skip for now."
See reference/quickbooks-reconcile.md for field mappings and API notes.
Fetch settlement reports from PayPal, Square, or Stripe — whichever are connected — for the same calendar month.
Match each settlement deposit against the QuickBooks bank deposit line:
See reference/paypal-settlements.md for settlement report field mappings (PayPal, Square, Stripe).
Scan the transaction register for likely duplicate charges or deposits. Flag a transaction as a suspicious duplicate when all three match:
Present flagged pairs to the user. They decide whether each is legitimate (e.g., a recurring weekly subscription) or a real duplicate to void.
See reference/gotchas.md for common false-positive patterns and how to distinguish them.
If the Desktop connector is available, scan the receipts folder (ask the user for the
path; default ~/Documents/Receipts) for the target month.
For each expense transaction in QuickBooks above $25 with no attached document:
List missing receipts. The user can supply the file or mark as "receipt not required" (e.g., a recurring auto-pay with no receipt).
If Desktop connector is not available, ask the user to confirm which expenses they have receipts for — don't silently skip this step.
Present a summary before going further:
Uncategorized transactions: X of X resolved
Settlement discrepancies: X flagged, X resolved
Suspicious duplicates: X flagged, X cleared
Missing receipts: X outstanding
Ask: "Ready to write the P&L summary and export the close packet?"
Do not proceed to Steps 7–8 without explicit confirmation.
Write a plain-English summary of the month — the kind an owner would share with their spouse or accountant, not a CFO memo. Aim for 150–250 words.
Structure:
Avoid jargon; define anything that isn't plain English ("MoM" = month over month).
See reference/examples/pl-narrative.md for a worked example.
Produce two files:
close-packet-[YYYY-MM].xlsx — three sheets:
P&L — the QuickBooks P&L data, formattedReconciliation — matched and flagged transactions side by sideAction Items — any outstanding flags (uncategorized, missing receipts, etc.)close-packet-[YYYY-MM]-summary.pdf — one page:
Save both to the Desktop (or a path the user specifies). Confirm the file locations.
See reference/close-packet-format.md for column specs and PDF layout details.
| Missing connector | Fallback |
|---|---|
| QuickBooks | Ask for a QB export CSV (P&L + transaction detail) |
| Payment processor | Ask for a settlement CSV from the processor's website |
| Desktop (receipts) | Ask the user to confirm receipt status for each flagged expense |
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。