# Automate Subscription Billing Workflows

Subscription billing requires coordinated lifecycle, payment, invoice, tax, and recovery rules. This skill provides practical patterns for designing and validating those workflows.

## Install

```bash
npx skillstore add sickn33/billing-automation
```

## Metadata

- Status: approved
- Slug: sickn33-billing-automation
- Skillstore revision: r2
- Version status: missing
- Tree hash: 5c10f69eb35401e2070a6e9cb25334cd32a95196b8e39f708fc2cd97b2b8e0a4
- Author: sickn33
- GitHub username: sickn33
- License: MIT
- Repository: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/billing-automation
- Ref: 5a26d1d61d694db29af9b138c661c1981076d9df
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: network, external\_commands
- Quality score: 78
- Quality tier: bronze
- Public page: https://skillstore.pages.dev/skills/sickn33-billing-automation
- Manifest: https://skillstore.pages.dev/api/skills/sickn33-billing-automation/manifest

## Capabilities

- Maps trial, active, past-due, paused, resumed, and canceled subscription states.
- Outlines recurring billing cycles, renewals, cancellations, and payment processing.
- Provides invoice generation patterns with line items, tax, totals, and status transitions.
- Calculates plan, seat, and usage-based charges with proration examples.
- Designs retry schedules, customer notifications, grace periods, and cancellation rules.
- Reviews regional sales tax, VAT, and GST requirements at a planning level.

## Use Cases

- Launch SaaS Subscriptions: Define plans, lifecycle states, invoices, renewals, and payment behavior for a new subscription product.
- Improve Payment Recovery: Create balanced retry schedules, notices, grace periods, and account restrictions for failed payments.
- Review Billing Architecture: Assess proration, usage metering, taxes, audit trails, and reconciliation before production rollout.

## Prompt Templates

### Define a Basic Billing Plan

```
Design a monthly subscription plan for [product]. Include price, trial length, renewal timing, cancellation behavior, and invoice timing.
```

### Map the Subscription Lifecycle

```
Map lifecycle states for [product]. Define allowed transitions, triggers, customer notifications, payment effects, and recovery actions for each state.
```

### Design Dunning and Proration

```
Create dunning and proration rules for [plans]. Include retry timing, grace periods, upgrades, downgrades, seat changes, credits, and test cases.
```

### Audit a Billing Architecture

```
Review this billing design: [design]. Identify lifecycle gaps, duplicate-charge risks, tax assumptions, reconciliation needs, failure modes, and sandbox validation steps.
```

## Limitations

- The examples are illustrative and require integration with your billing provider and data model.
- Tax rates and rules are incomplete and require current professional validation.
- The skill does not execute payments or deploy a billing system by itself.
- Production use requires sandbox testing, security review, reconciliation, and compliance checks.

## Best Practices

- Use idempotency controls and durable audit records for every charge, invoice, retry, and subscription transition.
- Validate payment flows with sandbox data and reconcile invoices against ledger outputs before release.
- Confirm tax, privacy, and notification obligations for every supported region.

## Anti Patterns

- Do not test billing logic by charging real customers.
- Do not hardcode tax rates, billing dates, or retry rules without controlled configuration and review.
- Do not finalize invoices before validating usage, proration, discounts, tax, and payment state.

## Security Audit

- Audited at: 2026-08-14T10:27:02.87\+00:00
- Summary: All eight static findings are false positives in documentation and illustrative code. No prompt injection, malicious intent, command execution, reconnaissance, or unsafe network destination was found.

## Stats

- Views: 112
- Downloads: 11
- Favorites: 0
- Popularity score: 0
