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.

Watch Now Invoice — Multi-Tenant B2B Invoicing SaaS in Action
Interactive walkthrough covering real-time workflows, UI responsiveness, and offline states.
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.
Multi-Tenant Cloud Architecture & Row-Level Security Isolation
Serverless full-stack SaaS architecture featuring Next.js 15 Server Components, PostgreSQL tenant partitioning, Stripe Webhook synchronization, and Cloudflare R2 zero-egress asset storage.
Next.js 15 Server Components & Dynamic Canvas
Hybrid server-rendered dashboard with instant TTFB and reactive client-side math canvas for real-time multi-currency tax and discount recalculation.
Supabase PostgreSQL Row-Level Security (RLS)
Guarantees database-level tenant isolation through SQL security policies. Eliminates accidental cross-tenant data leaks at the query layer.
Stripe Subscription & Webhook Entitlement Engine
Automated subscription state machine handling tiered plans (Free, Pro, Enterprise), invoice issuance, card retries, and customer portal sessions.
Cloudflare R2 Object Storage & Vector PDF Engine
Zero-egress object storage pipeline serving merchant brand logos via CDN and compiling print-ready vector PDF invoices in sub-seconds.
- Cryptographic PostgreSQL RLS policies enforcing multi-tenant boundaries at the database engine level
- Deterministic vector PDF compilation matching pixel-perfect on-screen visual canvas rendering
- Idempotent Stripe webhook listeners preventing double-crediting during payment retries
Planning a high-throughput mobile application with similar architecture?
Direct engineering leadership from Syed Waleed Nawaz: clean domain architecture, automated CI/CD, and 60 FPS delivery.
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
WA Commerce Agent
AI-powered WhatsApp commerce system for small businesses worldwide.
Wasey — Food Multi-Vendor Delivery Platform
Customer, courier, and vendor apps with live GPS tracking and automated dispatch.
Need a similar architecture shipped?
Let's translate your product workflows, real-time requirements, and cloud infrastructure into a dependable production app.