invoice-chase

โดย anthropic

ร่างอีเมลแจ้งเตือนใบแจ้งหนี้ที่ค้างชำระจากข้อมูล QuickBooks และ PayPal ซึ่งปรับให้ตรงกับประวัติการชำระเงินและน้ำเสียงของลูกค้าแต่ละราย (สุภาพสำหรับลูกค้าที่ดี, เข้มงวดสำหรับ...)

npx skills add https://github.com/anthropics/knowledge-work-plugins --skill invoice-chase

Invoice Chase

Quick start

Pull the AR aging report, score each customer by payment history, draft a tone-matched reminder for each overdue invoice, and present them to the owner. Nothing sends until the owner says so.

User: "who owes me money"
→ Pull AR aging from QuickBooks
→ Cross-reference PayPal settlements (last 14 days)
→ Score each customer: good-payer / occasionally-late / repeat-late
→ Draft tone-matched reminders
→ Show summary table + drafts. Wait for "send these."

Setup (first run only)

Ask the owner two questions before running for the first time:

  1. Mail connector: "Do you use Gmail or Apple Mail for drafts?" — store the answer; use it for all non-PayPal draft queuing.
  2. Stripe: "Do you use Stripe for invoicing? I can include Stripe invoices in the overdue sweep." — if yes, pull Stripe overdue invoices alongside QuickBooks.

Do not ask again on subsequent runs.

Workflow

  1. Pull overdue receivables. Query QuickBooks AR aging for all invoices more than 1 day past due. If Stripe is enabled (owner confirmed at setup), also pull Stripe overdue invoices.

  2. Cross-reference payment history. For each overdue customer, query PayPal for settled transactions using these parameters:

    • transaction_status: S (settled only — filters out pending and denied transactions that inflate result size and increase rate-limit risk)
    • Date window: last 7 days ending today (not 14 or 30 — wider windows are the primary cause of PayPal 429 rate limit errors)

    If PayPal returns a 429 rate limit error:

    • Retry once immediately with a 3-day window instead.
    • If the retry also returns 429, skip the PayPal cross-reference entirely for this run. Flag all customers in the batch as "PayPal unavailable — verify manually" in the summary table. Proceed to scoring using QuickBooks history only. Do not silently drop the caveat.

    If a customer shows a settled payment within the query window, flag as "possibly paid — verify" and exclude from the draft queue.

  3. Score each customer. Read reference/tone-matching.md for scoring logic. Result: good-payer, occasionally-late, or repeat-late.

  4. Draft reminder emails. One email per customer — consolidate multiple overdue invoices into one email. Match tone to score. See reference/examples/gentle-reminder.md and reference/examples/firm-reminder.md.

  5. Present drafts to owner. Show a summary table first:

    CustomerAmount DueDays LateToneSend via
    Acme Corp$1,20018 daysGentlePayPal
    Smith LLC$45047 daysFirmGmail draft

    Then show each draft email in full. Wait for owner to say "send these" or approve individually.

  6. Send or queue — only after approval.

    • PayPal invoices: send the reminder via PayPal.
    • Non-PayPal invoices: queue as a draft in the owner's configured mail app.
    • Never send without explicit approval.
  7. Report what happened. List what was sent, what was queued as draft, and what was flagged (possibly paid, excluded).

Approval gates

  • Never send or queue a draft without explicit owner approval. Present all drafts first; wait for the go-ahead.
  • Never include a customer who paid in the last 14 days. Flag as "possibly paid — verify" instead.
  • Never send to a customer not in the QuickBooks AR report (or Stripe, if enabled). No reminders from memory alone.
  • One approval covers one batch. Adding a customer or changing a draft after approval starts a new round.

Reference

Skills เพิ่มเติมจาก anthropic

access
anthropic
จัดการการเข้าถึงช่อง Discord — อนุมัติการจับคู่ แก้ไขรายการที่อนุญาต ตั้งค่านโยบาย DM/กลุ่ม ใช้เมื่อผู้ใช้ขอจับคู่ อนุมัติใครบางคน ตรวจสอบว่าใครได้รับอนุญาต…
official
session-report
anthropic
สร้างรายงาน HTML ที่สามารถสำรวจได้เกี่ยวกับการใช้งานเซสชันของ Claude Code (โทเค็น, แคช, ตัวแทนย่อย, ทักษะ, พรอมพ์ที่มีค่าใช้จ่ายสูง) จากบันทึกการสนทนาใน ~/.claude/projects
official
build-mcp-server
anthropic
ทักษะนี้ควรใช้เมื่อผู้ใช้ขอให้ "สร้าง MCP server", "สร้าง MCP", "ทำการรวม MCP", "ห่อ API สำหรับ Claude", "เปิดเผยเครื่องมือให้กับ…
official
cookbook-audit
anthropic
ตรวจสอบสมุดบันทึก Cookbook ของ Anthropic ตามเกณฑ์ที่กำหนด ใช้เมื่อมีการขอให้ตรวจสอบหรือประเมินสมุดบันทึก
official
handle-complaint
anthropic
จัดการข้อร้องเรียนของลูกค้าที่เข้ามาตั้งแต่ต้นจนจบ — ดึงข้อมูลบริบท ร่างคำตอบ และแนะนำแนวทางแก้ไขการดำเนินงาน รองรับอีเมลหรือรหัสตั๋วที่เป็นทางเลือก…
official
use-case-triage
anthropic
ระบุอย่างรวดเร็วว่ากิจกรรมการประมวลผลจำเป็นต้องมี PIA, DPIA ตามข้อบังคับ GDPR หรือสามารถดำเนินการต่อได้ — แสดงข้อขัดแย้งของนโยบายความเป็นส่วนตัวและนำทางไปยัง...
official
board-minutes
anthropic
ร่างรายงานการประชุมคณะกรรมการหรือคณะอนุกรรมการในรูปแบบขององค์กรของคุณ ตรวจจับการประชุมคณะกรรมการและคณะอนุกรรมการที่กำลังจะมาถึงจากปฏิทินของคุณโดยอัตโนมัติ สอบถามวาระการประชุมและ…
official
renewal-tracker
anthropic
แสดงสัญญาที่มีกำหนดเส้นตายการยกเลิกที่กำลังจะมาถึง และเตือนก่อนที่กรอบเวลาการแจ้งเตือนจะปิดลง โดยทำงานจากทะเบียนการต่ออายุที่ได้รับการดูแล ใช้เมื่อผู้ใช้ถาม…
official