Build payment integrations, subscription management, and invoicing systems with webhook handling, tax compliance, and revenue recognition.
User needs to implement or debug payment processing, subscription lifecycles, invoicing, or revenue operations. Agent handles Stripe/Paddle integration, webhook architecture, multi-currency, tax compliance, chargebacks, usage-based billing, marketplace splits, and revenue recognition patterns.
| Topic | File |
|---|---|
| Stripe integration | INLINECODE0 |
| Webhooks & events |
webhooks.md |
| Subscription lifecycle | subscriptions.md |
| Invoice generation | invoicing.md |
| Tax compliance | tax.md |
| Usage-based billing | usage-billing.md |
| Chargebacks & disputes | disputes.md |
| Marketplace payments | marketplace.md |
| Revenue recognition | revenue-recognition.md |
amount: 1000 = $10.00Stripe-Signature header)event_id and check idempotency — webhooks duplicatewebhooks.md for implementation patterns| State | Meaning | Access |
|---|---|---|
| INLINECODE14 | Free trial period | ✅ Full |
| INLINECODE15 |
past_due | Payment failed, retrying | ⚠️ Grace period |
| canceled | Will end at period end | ✅ Until period_end |
| unpaid | Exhausted retries | ❌ None |
Never grant access based on status === 'active' alone — check current_period_end.
cancel_at_period_end: true → Access until period ends, stops renewal| Mode | Behavior | Use When |
|---|---|---|
| INLINECODE23 | Credit unused, charge new | Standard upgrades |
| INLINECODE24 |
always_invoice | Immediate charge/credit | Enterprise billing |
Never rely on PSP defaults — specify explicitly every time.
customer.subscription.updated fires BEFORE invoice.paid frequently.
| Scenario | Action |
|---|---|
| Same country | Charge local VAT/sales tax |
| EU B2B + valid VAT |
Missing required invoice fields = legally invalid invoice. See tax.md.
pm_*, cus_*)disputes.md for compliance patterns| Stage | Timeline | Action |
|---|---|---|
| Inquiry | 1-3 days | Provide evidence proactively |
| Dispute opened |
>3 intentos de cobro fallidos consecutivos = posible trigger de fraude monitoring.
revenue-recognition.md for accounting patternssubscription_id → impossible to reconcile refundspayment_intent.requires_action → stuck paymentsmode: 'subscription' without handling INLINECODE37该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 billing-1776419957 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 billing-1776419957 技能
skillhub install billing-1776419957
文件大小: 18.06 KB | 发布时间: 2026-4-17 20:13