ClaudeCodeMod

All shelves / Skills

billing-automation

wshobson/agents · 11.9k installs · 42.1K stars

Skill Master automated billing systems including recurring billing, invoice generation, dunning management, proration, and tax calculation.

Install

The repo has no one-line install. Follow its README.

Open the repo

Files

SKILL.md

Billing Automation

Master automated billing systems including recurring billing, invoice generation, dunning management, proration, and tax calculation.

When to Use This Skill

  • Implementing SaaS subscription billing
  • Automating invoice generation and delivery
  • Managing failed payment recovery (dunning)
  • Calculating prorated charges for plan changes
  • Handling sales tax, VAT, and GST
  • Processing usage-based billing
  • Managing billing cycles and renewals

Core Concepts

1. Billing Cycles

Common Intervals:

  • Monthly (most common for SaaS)
  • Annual (discounted long-term)
  • Quarterly
  • Weekly
  • Custom (usage-based, per-seat)
2. Subscription States
trial → active → past_due → canceled
              → paused → resumed
3. Dunning Management

Automated process to recover failed payments through:

  • Retry schedules
  • Customer notifications
  • Grace periods
  • Account restrictions
4. Proration

Adjusting charges when:

  • Upgrading/downgrading mid-cycle
  • Adding/removing seats
  • Changing billing frequency

Quick Start

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 patterns and worked examples

Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.

Facts

Kind
Skill
Repo
wshobson/agents
Group
Uncategorized
Installs
11.9k
Stars
42.1K

Same name on this shelf 1

  1. 20091billing-automationsickn33/antigravity-awesome-skills290

Same repo on other shelves

Marketplaces

  1. 16wshobson/agentswshobson/agentsMulti-harness agentic plugin marketplace for Claude Code, Codex, Cursor, OpenCode, GitHub Copilot, Google Antigravity, and Pi42.8k

From the same repo

  1. 2522k8s-manifest-generatorwshobson/agents11.9k
  2. 2523python-background-jobswshobson/agents11.9k
  3. 2547ml-pipeline-workflowwshobson/agents11.8k
  4. 2562competitive-landscapewshobson/agents11.8k
  5. 2564dependency-upgradewshobson/agents11.8k
  6. 2567context-driven-developmentwshobson/agents11.8k