Self-host Kill Bill
killbill-0.24.22Open-source billing and payments you run yourself
- Stars
- 5 847
- RAM
- at least 4 GiB of memory
- Port
- 8080 (Kill Bill API/server)
killbill/killbillWhat is Kill Bill?
Kill Bill is an Apache-2.0 licensed billing and payments platform that teams have run since 2010. The engine models price catalogs and plans, tracks subscriptions through their phases, meters usage, generates invoices each cycle and drives payments through gateway plugins, while also handling credits, tax, dunning, currencies, locales and many tenants on stateless nodes. Operators work with Kaui, an open-source back-office web UI, or with a REST API that has official clients in six languages; per-tenant webhook callbacks push events to external systems, and Java plugins add functionality without touching the core. Self-hosting is straightforward: bring up the server, Kaui and a MariaDB database from one Docker Compose file, deploy WARs onto Tomcat 9 with JDK 11, or follow the Kubernetes deployment guide; MySQL, MariaDB and PostgreSQL are all supported. The Apache-licensed core is offered without assistance guarantees — Aviate, a commercially licensed accelerator from the same team, layers on a catalog editor, coupons, wallets, usage modules and engineer-level support for a fixed monthly fee.
Kill Bill alternatives
UniBeeUniBee is a self-hosted, open-source billing platform for SaaS companies that manages subscriptions, invoices, usage-based charges, and payments via many gateways.CompareUniBee with Kill Bill
SolidInvoiceSelf-hosted open-source invoicing for freelancers with quotes, recurring billing, multi-currency, online payments, and REST API under MIT license.CompareSolidInvoice with Kill Bill
flexpriceOpen-source usage-based billing and metering platform for AI-native and SaaS teams; self-hosted with Docker Compose plus Postgres, Kafka, ClickHouse and Temporal.Compareflexprice with Kill Bill
paymenterOpen-source billing platform for hosting companies: automated subscriptions, Stripe/PayPal/Mollie gateways, hosting-panel integrations and a WHMCS importer.Comparepaymenter with Kill Bill
meteroidSelf-hosted, open-source billing and monetization platform: usage metering, subscriptions, quotes/CPQ, invoicing, entitlements and hybrid pricing, built in Rust.Comparemeteroid with Kill Bill
invoice-ninjaSelf-hosted invoicing platform for freelancers and small businesses: invoices, quotes, online payments, recurring billing, expenses, projects and time tracking.Compareinvoice-ninja with Kill Bill
openmeterOpenMeter is a self-hosted, open-source metering and billing platform for AI and API products that ingests usage events in real time.Compareopenmeter with Kill Bill
LagoSelf-hosted, open-source billing engine: meter product usage, price it with plans and prepaid credits, and bill customers with generated invoices.CompareLago with Kill Bill
Should you self-host Kill Bill?
Kill Bill scores 68/100 on selfhost.directory (how scoring works) and ranks #3 of 13 in Billing. It has 5 847 GitHub stars, +67 in the last 30 days.
It shipped 7 stable releases in the past year. The latest, killbill-0.24.22, came out on 28 September 2026. New versions land roughly every 5 weeks.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Java.
Its closest alternative on selfhost.directory is Lago (72/100, 10 774 stars). It scores higher overall, so compare the two before you pick. See Kill Bill vs Lago side by side.
Features
- Admin UI (Kaui)
- Automatic invoicing
- Embeddable as a Java library
- Multi-currency and localization
- Multi-tenancy
- Payment gateway integration via plugins
- Payment retries and dunning
- Plugin System
- Proration and credits
- Recurring, usage and one-time billing
- Reporting and analytics
- REST API
- Role-based Access Control
- Tax calculation via plugins
- Webhooks / push notifications
Kill Bill README
Kill Bill is an open source subscription billing and payments platform, in production since 2010. It handles catalogs and pricing, subscriptions, usage metering, invoicing, payments across gateways, credits, tax and dunning. You run it on your own infrastructure and you own your data, so there is no vendor lock-in.
FAQ
What is a plugin?
Software running on top of the platform that adds a feature or behavior not part of the Kill Bill core.
Can Kill Bill accept cryptocurrency payments from my customers?
Yes, by using a payment plugin for a gateway that supports the desired coins, such as Bitcoin or Ethereum.
Does Kill Bill support coupons and/or discounts?
Via discount plans in the catalog, a PhasePriceOverride when creating a subscription, or a custom coupon plugin built on the EntitlementPluginApi.
Does Kill Bill include catalog functionality?
Yes, an XML catalog with subscription plans, one-off products, product tiers, pricing lists and multiple subscription types; a plugin API allows alternative catalog implementations.
How does Kill Bill support international billing?
The core is internationalized: the catalog handles every currency including cryptocurrencies, and accounts can have their own locale and time zone.
What happens when a payment fails?
The failure is recorded and payment is retried on a per-tenant schedule; if the invoice stays unpaid, configurable overdue (dunning) states can block changes or pause the service.
What types of payment methods does Kill Bill support?
Whatever cards your gateway accepts (plus ACH if the gateway offers it), and external payments such as checks or cash can be recorded via Kaui or the API.
What payment gateways can I use with Kill Bill?
Through plugins, so you are not locked to one provider: open-source plugins cover Stripe, Adyen, Braintree and Hyperswitch, and you can write one for any other gateway.
How does Kill Bill handle payments?
Kill Bill itself is not a gateway; when a payment is due it invokes a payment-gateway plugin and the gateway processes the transaction.
Does Kill Bill handle proration?
Yes. On a mid-period plan change, the unused part of the old plan is credited and the new plan charged for the remainder, per your catalog's billing policies.
Does Kill Bill support recurring billing / usage billing / one-time billing?
All three: recurring subscriptions, usage-based charges (priced in tiers or blocks) and one-off transactions.
Which databases does Kill Bill support?
The team develops against MySQL and regression-tests MariaDB and PostgreSQL; deployments on Percona and Aurora also exist.
Can you run Kill Bill in the cloud?
Yes, in private data centers and public clouds such as AWS and Azure, via Docker, Tomcat or Kubernetes; its stateless nodes scale behind a load balancer.
Is Kill Bill a Software-as-a-Service (SaaS)?
No. It is open-source software you run in your own data center or cloud; only Aviate, the enterprise product, is offered as a hosted sandbox.
More in Billing
LagoSelf-hosted, open-source billing engine: meter product usage, price it with plans and prepaid credits, and bill customers with generated invoices.
lotusAn open-source, self-hosted pricing and billing engine for SaaS teams: build usage-based or per-seat plans, manage subscriptions, and test pricing experiments.
meteroidSelf-hosted, open-source billing and monetization platform: usage metering, subscriptions, quotes/CPQ, invoicing, entitlements and hybrid pricing, built in Rust.
OpenEMRSelf-hosted, open-source EHR and clinic management suite with scheduling, e-billing, prescriptions, FHIR APIs and a patient portal; runs on Docker or a LAMP stack.
openmeterOpenMeter is a self-hosted, open-source metering and billing platform for AI and API products that ingests usage events in real time.
paymenterOpen-source billing platform for hosting companies: automated subscriptions, Stripe/PayPal/Mollie gateways, hosting-panel integrations and a WHMCS importer.
pnlcsPNLCS is a free, open-source, self-hosted hosting billing platform and WHMCS alternative with invoicing, domains, SSL, tickets, Docker apps, and Proxmox VPS sales.
polarUsage-based billing, subscriptions and merchant-of-record platform for AI startups; open-source Apache-2.0 code behind a hosted dashboard.
SHKeeperSHKeeper is a self-hosted, open-source cryptocurrency payment processor and gateway for merchants, accepting 19+ coins with invoices, payouts and CMS modules.
SolidInvoiceSelf-hosted open-source invoicing for freelancers with quotes, recurring billing, multi-currency, online payments, and REST API under MIT license.
stack-authSelf-hosted open-source user platform for SaaS apps: auth with passkeys, teams and RBAC, API keys, payments, emails, webhooks, and product analytics with replays.
TimeTrackerOpen-source, self-hosted time tracking and invoicing app with timers, projects, expenses and Peppol e-invoicing — an alternative to Toggl, Clockify and Harvest.




0 comments