Stars
Forks
Watchers
Developer links
KillBill
Kill Bill handles the complete subscription billing lifecycle from plan definition through invoice generation to payment collection across any gateway, with 15 years of Fortune 500 production use and 5,600+ GitHub stars behind it. Plans, trials, add-ons, and pricing tiers live in a versioned XML catalog that propagates changes without code deploys. The multi-phase subscription engine manages trial periods, promotional discounts, evergreen billing, usage-based metering, and hybrid pricing models with automatic proration on plan upgrades and downgrades. Automated invoice generation calculates charges, applies credits and adjustments, and triggers payment collection through pluggable gateways including Stripe, Adyen, Braintree, PayPal, and CyberSource. The Java plugin framework extends every billing domain with custom logic for tax calculation via Avalara AvaTax or Vertex, fraud detection through Accertify or Feedzai, and ERP integration without modifying the core. The Kaui admin dashboard gives finance and operations teams account management, subscription controls, invoice views, payment configuration, billing timeline visualization, MRR tracking, advanced search, and full audit history with object-level change tracking. Multi-tenancy isolates billing data across thousands of brands with tenant-specific catalogs, payment configs, and RBAC policies. REST APIs expose every operation with webhook notifications for downstream integration. Deploys via Docker Compose on MySQL or PostgreSQL. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache 2.0 licensed.
Benefits
- Catalog-Driven Subscription Pricing
- Define plans, trials, add-ons, and pricing tiers in versioned XML catalogs that propagate changes without code deploys, supporting recurring, usage-based, and hybrid pricing models.
- Pluggable Payment Gateway Framework
- Java plugin architecture integrates Stripe, Adyen, Braintree, PayPal, and CyberSource for payment processing with tax providers and fraud detection extending every billing domain.
- Kaui Admin Dashboard
- Web-based admin console for finance, support, and operations teams providing account management, invoice views, payment controls, real-time MRR tracking, and full audit history.
- Enterprise Multi-Tenant Isolation
- Isolate billing data across thousands of customer brands on one deployment with tenant-specific catalogs, payment configurations, RBAC policies, and independent webhook endpoints.
Features
- Subscription Lifecycle Management
- Multi-phase subscriptions with trial periods, promotional discounts, evergreen billing, automatic proration on plan changes, and entitlement controls for upgrades and downgrades.
- Automated Invoice Generation
- Calculate charges, apply credits, handle adjustments, and trigger payment collection with configurable retry logic across multiple payment methods per account.
- Plugin Architecture
- Deploy Java plugins as JAR files in the Tomcat environment with access to Kill Bill APIs, custom HTTP endpoints, and database persistence for tax, fraud, and ERP integration.
- REST API and Webhooks
- Comprehensive REST APIs expose every billing operation with push-based event notifications via webhooks for downstream system integration and analytics pipelines.
- Audit Trail and Analytics
- Full audit history tracks object-level changes with real-time financial reports, MRR metrics, and billing timeline visualization across all tenant data.