Lago
Trusted by Mistral AI, PayPal, Groq, and Synthesia with over 10,300 GitHub stars and Y Combinator backing, Lago is the open-source billing engine that handles usage-based, subscription-based, and hybrid pricing models through a single API-first platform — replacing the need to build custom billing logic or depend on opaque SaaS pricing infrastructure. Real-time event ingestion via ClickHouse processes billable events with deduplication and multiple aggregation methods including count, sum, unique count, max, and weighted sum, while graduated pricing tiers, package-based billing, and percentage-based fees model any pricing strategy from simple subscriptions to complex marketplace commission structures. Automated invoice generation calculates charges according to configurable billing cycles with grace periods, proration for mid-cycle changes, and credit note issuance for refunds and adjustments. Prepaid credits enable pay-in-advance models where customers purchase credit blocks and draw down as usage accumulates, while entitlements tie feature access directly to billing plans for automated provisioning and de-provisioning. Payment orchestration integrates natively with Stripe, Adyen, and GoCardless with automatic retry logic, dunning workflows for failed payments, and multi-gateway routing. Revenue analytics provide cross-stream visibility into MRR, usage trends, churn, and revenue drivers through dedicated API endpoints. The customer portal embeds into your application for self-service invoice access and usage monitoring. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. AGPL-3.0 licensed.
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.
Flexprice
Flexprice is a developer-first billing platform built specifically for AI-native and SaaS companies that need usage-based, credit-based, and hybrid pricing models without building custom billing infrastructure. The metering engine ingests millions of usage events in real time through HTTP APIs or SDK calls, supporting sum, count, unique count, latest value, and multiplier aggregation strategies across custom event schemas like API calls, token counts, compute minutes, and GPU time. Credit management handles prepaid wallets with promotional grants, rollover caps, auto top-ups, and priority-based credit application during invoice generation. The pricing engine supports per-unit, tiered, volume, package, and flat-rate models with per-customer overrides, committed minimums, and enterprise contract terms. Feature entitlements enforce boolean toggles, metered usage limits, and configuration values per plan, enabling applications to gate functionality through simple API checks. Automated invoicing calculates charges from real-time usage data with proration for mid-cycle upgrades and downgrades, generating detailed line items linked to tracked consumption. The architecture separates event ingestion through Kafka from billing computation via Temporal workflow orchestration, allowing each layer to scale independently with ClickHouse handling high-performance usage aggregation. Stripe Connect integration processes payments and manages customer payment methods. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. AGPLv3 licensed.
Polar
Used by Tailwind Labs and recognized as an official GitHub funding partner, Polar is the open-source billing infrastructure that lets developers ship production-ready monetization in hours instead of weeks. Meter tokens, API calls, agent runs, GPU seconds, and storage with event-level precision, then compose usage billing with subscriptions, seats, credits, trials, and discounts into whatever pricing model your product requires. As Merchant of Record, Polar handles sales tax, VAT, chargebacks, receipts, and regulatory compliance across all supported countries so you receive clean payouts without building tax infrastructure. Integrate via the full REST API with official SDKs for JavaScript, Python, PHP, and Go, plus framework adapters for Next.js, Astro, Remix, SvelteKit, and Laravel enabling checkout integration in minutes. Automatically deliver benefits upon purchase including GitHub repository access, Discord roles, license keys, file downloads, and meter credits through configurable automation rules. The built-in customer portal provides subscription management, payment method updates, invoice history, and benefit access with full white-label branding. Monitor revenue, costs, and margins through real-time analytics dashboards showing the unit economics every AI startup needs to scale. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache License 2.0 licensed.
SolidInvoice
SolidInvoice ships a complete billing platform as a single FrankenPHP binary — no separate PHP installation, no web server configuration, just one executable that delivers quote-to-invoice conversion, automated recurring billing, Stripe and PayPal payment processing, multi-currency precision arithmetic, and eight render-ready PDF templates out of the box. Maintained since 2012 across 63 releases with 30 contributors, the Symfony 7 and PHP 8.4 backend provides quote creation with one-click conversion to invoices, recurring billing with configurable frequency schedules, and online payment processing through Payum supporting Stripe, PayPal, and additional gateways. Multi-currency support uses real Money objects for precision arithmetic, while multi-tax support handles invoice-level and line-item tax rates with automatic calculation. Client management stores contacts, multiple addresses with map integration, credit balances, and complete quote and invoice history per client. The redesigned Tabler-based UI features a dashboard with hero statistics, ChartJS revenue trend visualization, attention-required alerts for overdue and draft invoices, quick actions, and a recent activity timeline. A RESTful API enables integrations with external systems. Multi-channel notifications deliver alerts via email, SMS, and webhooks. Google OAuth and two-factor authentication secure access. Grid export and full company data export support backup and migration. Deploy using Docker, Homebrew, the standalone FrankenPHP binary, or from source. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.
Hyperswitch
Hyperswitch from Juspay delivers the most comprehensive open-source payment orchestration stack available — a Rust-built platform that connects to Stripe, Adyen, Braintree, Worldpay, Checkout.com, Cybersource, and 120+ payment processors through a single API integration. Intelligent routing drives each transaction to the processor with the highest predicted authorization rate using rule-based, volume-based, and machine learning algorithms, while seamless failover and automatic retries recover revenue from declined transactions using 30+ parameters including decline codes, card BIN, transaction size, and region. The PCI-compliant card vault stores payment methods securely in a dedicated service separate from the main application server, and the reconciliation engine automates 2-way and 3-way matching with backdated support, staggered scheduling, and customizable audit-ready outputs. The Control Center dashboard provides visual workflow builders for routing rules, payment analytics, and operations management. Cost observability tools drill into scheme, interchange, and acquirer fees to detect anomalies and optimize processing costs. The modular architecture allows deploying individual components — routing, retries, vaulting, observability, or the full suite — without vendor lock-in. The web client SDK collects payment information with prebuilt UI components and supports WooCommerce integration. Deploy via Docker Compose with the app server, control center, card vault, and 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.
Alf.io
Alf.io handles the complete conference and event lifecycle from ticket distribution through check-in to financial reporting, built for organizers who refuse to surrender attendee data to third-party ticketing platforms like Eventbrite or Tito. Built on Java 17 with Spring Boot and PostgreSQL with row-level security policies, the project has earned over 1,500 GitHub stars from privacy-conscious event organizers across Europe and beyond. Payment processing supports Stripe for credit cards, Mollie for iDEAL, Bancontact, KBC/CBC, and Przelewy24, plus Revolut, PayPal, bank transfers, on-site collection, and configurable custom offline payment methods with localized instructions. Multi-tier ticket categories enable early bird, VIP, standard, and free registrations with promotional codes, group discounts, and waiting lists that automatically notify next-in-queue when cancellations occur. Customizable registration forms collect attendee data beyond standard fields, while EU VAT management validates tax IDs through the VIES web service and supports Italian e-invoicing with automatic PDF invoice generation attached to confirmation emails. The Alf.io Scan mobile app for iOS and Android performs QR code check-in at venue entrances, and the Alf.io-PI project provides Raspberry Pi-powered offline-capable check-in stations that form encrypted clusters for high-throughput badge printing at large events. Apple Wallet integration delivers digital passes via PassKit. The extensions system integrates with CRMs, accounting platforms, Slack, Telegram, and Mailjet. Multi-language support covers nine languages. Deploy via Docker with PostgreSQL. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. GPLv3 licensed.
InvoicePlane
InvoicePlane manages the complete freelance and small-business billing cycle — draft quotes, convert them to invoices, automate recurring charges, collect payments through Stripe and PayPal, and generate EU-compliant eInvoice XML for automated processing by accounting systems. Deployed over 100,000 times across 193 countries, the PHP 8.2+ application on CodeIgniter 3 with MySQL or MariaDB handles everything from first estimate to final receipt. EU-compliant eInvoice generation creates machine-readable XML invoices meeting European Union standards since version 1.6.2. Recurring invoices automate periodic billing with configurable controls that pause generation when previous invoices remain unpaid. Online payment integration lets clients pay directly through Stripe, PayPal with Advanced Credit Cards, and Venmo support. The CRM-like client management module stores contact details, notes, custom fields, and complete transaction history per client. Product and task management modules let you build line-item invoices from reusable product catalogs and project tasks. Customizable PDF templates powered by mPDF support branded invoice layouts with QR codes, while email delivery via PHPMailer handles automated sending with configurable SMTP. A guest portal gives clients read-only access to view and pay their outstanding invoices and quotes. Financial reporting tracks revenue, outstanding balances, and payment history. The multi-language interface supports community translations, and multi-currency handles international invoicing. Deploy via Docker Compose with automatic database migrations. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.
Pretix
Pretix powers thousands of events and millions of ticket sales through a fully brandable ticket shop with interactive seating plans, 30+ payment providers, and a mobile check-in app for venue entry management. With over 2,400 GitHub stars, it delivers what organizations need when they demand full control over attendee data and revenue rather than surrendering margins to Eventbrite or Ticket Tailor. Built with Python and Django on PostgreSQL with Redis and Celery, the ticket shop adapts to your colors, logo, and domain with responsive design. The graphical seating plan editor handles everything from small cinemas to large stadiums, letting buyers choose seats mapped to pricing categories. Payment providers connect through plugins including Stripe, PayPal, Mollie for iDEAL and Bancontact, SEPA direct debit, and bank transfer with automatic CSV import for payment matching. The voucher engine generates bulk discount codes with usage limits, quota reservations, and automated email distribution. Waiting lists automatically offer released tickets to the next registrant with expiration deadlines. A built-in mini-CMS hosts event descriptions, terms of service, and static pages directly in the ticket shop. Customer accounts enable repeat buyers to check out faster across events. The pretixSCAN mobile app performs QR code check-in on Android and iOS with offline capability. Embeddable JavaScript widgets integrate the shop into any website. Plugin architecture extends functionality with output formats, analytics, and Apple Wallet passes. Deploy via Docker with the pretix/standalone image alongside PostgreSQL and Redis. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. AGPL-3.0 licensed.