Everything you need to bill your customers
A complete billing system with a flexible API and drop-in UI components. Open source, self-hostable, designed for developers.
bxb_
The complete billing solution. A flexible API for the full billing lifecycle — invoicing, subscriptions, payment methods, wallets, usage metering, and customer management.
Use the API directly to power custom frontend or mobile app billing flows, or combine it with bxb-elements for a ready-to-use customer billing portal within minutes.
Explore the API docsSubscriptions
Create, upgrade, downgrade, pause, and cancel subscriptions with any pricing model.
Invoicing
Generate, send, and reconcile invoices and credit notes automatically.
Usage Metering
Ingest billable events and compute charges based on custom metrics.
Payment Methods
Manage cards, bank accounts, and alternative payment methods per customer.
Wallets & Credits
Prepaid balances, top-ups, and automatic credit application at billing time.
Customer Management
Full customer lifecycle — profiles, billing addresses, tax IDs, and metadata.
BoxBilling Elements
The embeddable component library. 8 drop-in web components that deliver a complete self-service billing portal. Available as the @boxbilling/elements npm package.
Ships with React and Vue wrappers, a theming engine with light/dark/auto modes, an event bus for host-app communication, and built-in branding integration. A single call to register() initializes all components.
<bxb-overview> Full billing dashboard at a glance
<bxb-invoices> Invoice history, downloads, and payments
<bxb-subscriptions> Plan management and upgrades
<bxb-wallet> Credits, top-ups, and balance
<bxb-billing> Payment methods and billing details
<bxb-usage> Real-time usage metering and history
<bxb-profile> Customer profile and preferences
<bxb-events> Activity feed and audit trail
<!-- One script tag -->
<script src="@boxbilling/elements"></script>
<!-- One line of init -->
<script>bxb.register({ apiKey: 'your-key' });</script>
<!-- Drop in any component -->
<bxb-overview></bxb-overview> Built for developers
Every design decision optimized for integration speed, flexibility, and full control over your billing infrastructure.
API First
A complete billing system usable without any frontend code. Integrate directly into your existing backend stack.
Drop-in Billing UI
bxb-elements provides a full customer portal with one script tag and one line of initialization.
Framework-agnostic
Standard web components that work everywhere, with first-class React and Vue wrappers.
Fully Themeable
CSS custom properties, preset light/dark themes, auto color scheme detection, and branding from your API.
Event-driven
An event bus lets your host application react to every user action — payments, plan changes, top-ups, and more.
Open Source
Full control over your billing stack. Self-host, audit, extend, and contribute. AGPL-3.0 licensed.
Ready to simplify your billing?
We're onboarding early customers now. Join the waitlist and get notified when managed bxb is ready.