Now Invoice — Multi-Tenant B2B Invoicing SaaS
A comprehensive multi-tenant B2B invoicing SaaS featuring an interactive visual template builder, multi-currency billing, client management, automated Stripe subscriptions, Supabase PostgreSQL RLS, and Cloudflare R2 asset storage.
Project Overview
Now Invoice is a modern, multi-tenant B2B invoicing and client billing SaaS platform engineered with Next.js 15, React 19, TypeScript, and Tailwind CSS.
Designed for SMBs, digital agencies, and freelancers, it features an interactive visual template builder, multi-currency calculation engine, client management directory, and high-fidelity PDF export. Equipped with automated Stripe subscription billing, secure Supabase Row-Level Security (RLS) database isolation, super-admin governance, and Cloudflare R2 asset storage, it streamlines financial operations with instant responsive UI.
My Engineering Role
Full-Stack Architect and Lead Developer responsible for Next.js 15 App Router architecture, Supabase PostgreSQL schema design with RLS, Stripe subscription webhook integrations, and client-side PDF rendering.
The Challenge
Building a flexible invoice template engine that renders print-ready vector PDFs in milliseconds while enforcing strict data isolation between corporate tenants and handling recurring Stripe subscription lifecycles.
The Solution
Engineered a server-side rendered Next.js 15 application utilizing Supabase with PostgreSQL RLS for tenant partitioning, Stripe Webhooks for subscription entitlement synchronization, and Cloudflare R2 for asset storage.
High-Level Architecture
- Next.js 15 App Router application with React 19 Server Components for instant TTFB and static SEO landing pages.
- Supabase PostgreSQL database secured with Row-Level Security (RLS) enforcing strict tenant and organization boundaries.
- Stripe Billing integration managing recurring tiered subscriptions, customer portals, and automated payment webhooks.
- Cloudflare R2 object storage providing low-cost, zero-egress asset hosting for merchant brand logos and generated PDFs.
- Interactive visual invoice canvas with live client-side math recalculation for discounts, taxes, and shipping.
Key Features & Workflows
- Visual Invoice Builder: Customize brand colors, typography, payment terms, and custom line items with real-time preview.
- Multi-Currency & Tax Engine: Dynamic currency formatting with support for VAT, GST, compound sales taxes, and line-item discounts.
- Client Management CRM: Centralized client ledger tracking past invoices, outstanding balances, and payment histories.
- Automated Stripe Subscriptions: Tiered pricing plans (Free, Pro, Enterprise) with automated payment retry and invoice issuance.
- Cloudflare R2 Asset Pipeline: Secure asset storage for business logos and digital signatures with CDN-speed delivery.
- High-Fidelity PDF Export: One-click vector PDF generation formatted precisely for digital sharing or commercial printing.
Technical Challenges Overcome
- Ensuring sub-millisecond currency calculation and rounding precision to prevent floating-point discrepancies across multi-item invoices.
- Securing multi-tenant PostgreSQL RLS policies against unauthorized cross-tenant invoice view requests via shared links.
- Synchronizing asynchronous Stripe webhook events with Supabase user tier records without race conditions.
Production Results & Impact
- Live web application actively deployed and accessible at invoice-maker-web-one.vercel.app.
- Full video demonstration publicly available on YouTube showcasing subscription and invoice creation flows.
- Delivered a commercially viable SaaS foundation ready for international freelancer and SMB adoption.
Featured Case Studies
Explore More Production Architectures
Wasey — Food Multi-Vendor Delivery Platform
Customer, courier, and vendor apps with live GPS tracking and automated dispatch.
Architecture — Social Care Management
Operational social-care workflows on Flutter, Firebase, and offline storage.
Need a similar architecture shipped?
Let's translate your product workflows, real-time requirements, and cloud infrastructure into a dependable production app.