计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
billing-automation【效率与协作】Build automated billing systems for recurring payments, invoicing, subscription lifecycle, and dunning management. Use when implementing subscription billing, automating invoicing, or managing recurring payment systems.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Master automated billing systems including recurring billing, invoice generation, dunning management, proration, and tax calculation.
Common Intervals:
trial → active → past_due → canceled
→ paused → resumed
Automated process to recover failed payments through:
Adjusting charges when:
from billing import BillingEngine, Subscription
# Initialize billing engine
billing = BillingEngine()
# Create subscription
subscription = billing.create_subscription(
customer_id="cus_123",
plan_id="plan_pro_monthly",
billing_cycle_anchor=datetime.now(),
trial_days=14
)
# Process billing cycle
billing.process_billing_cycle(subscription.id)
Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.