billing-automation

Automate recurring billing, subscription lifecycle management, and dunning processes.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/oscartejera/josephine-app --skill billing-automation-oscartejera
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: billing-automation
Source: https://github.com/oscartejera/josephine-app/tree/main/.agents/skills/billing-automation
Command: npx skills add https://github.com/oscartejera/josephine-app --skill billing-automation-oscartejera

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the complexities of managing recurring payments, invoicing, subscription lifecycles, and customer payment recovery, reducing manual overhead and improving cash flow.

Core Features & Use Cases

  • Subscription Management: Handles trial periods, active subscriptions, and cancellations.
  • Automated Invoicing: Generates invoices for billing cycles, including prorated charges and taxes.
  • Dunning Management: Manages failed payment retries and customer notifications to recover revenue.
  • Usage-Based Billing: Tracks and bills for metered usage based on defined pricing models.

Quick Start

Use the billing-automation skill to create a new monthly subscription for customer ID 'cus_123' with plan ID 'plan_pro_monthly'.

Frequently Asked Questions about billing-automation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate recurring billing and subscription lifecycle management?

Automate recurring billing by configuring subscription state transitions, generating cycle-based invoices, and applying proration and tax calculations. This handles trial periods, active states, and cancellations automatically.

What is dunning management and how does it recover failed subscription payments?

Dunning management recovers failed subscription payments through automated retry schedules and customer notifications. It reduces manual overhead by systematically handling payment failures and attempting revenue recovery without intervention.

Can I implement usage-based billing for metered SaaS subscriptions?

Yes, usage-based billing tracks metered usage against defined pricing models. It calculates charges based on actual consumption rather than flat rates, automating invoicing for variable subscription services.

How do I handle proration and tax calculation for mid-cycle subscription changes?

Proration and tax calculation are applied during automated invoice generation when subscription plans change mid-cycle. The system calculates proportional charges and applicable taxes automatically.

What is the best way to manage subscription state transitions and error handling for SaaS payments?

Implement clear state transitions for subscription statuses alongside robust error handling for payment failures. This ensures proper lifecycle management from trial to active to cancellation while managing edge cases.

Do I need external payment gateways to process recurring subscription invoices?

The skill automates invoice generation, dunning processes, and subscription state management. It requires integration with a payment gateway to execute actual transaction processing and fund settlement.