Skip to main content
FA
Faiz Akram
HomeAboutExpertiseProjectsBlogContact
FA
Faiz Akram

Senior Technical Architect specializing in enterprise-grade solutions, cloud architecture, and modern development practices.

Quick Links

Privacy PolicyTerms of ServiceBlog

Connect

© 2026 Faiz Akram. All rights reserved.

Back to Projects
Sparks Business — Inventory, Sales & GST Invoicing Platform — Multi-tenant inventory, sales and GST-invoicing SaaS for Indian trading businesses
SaaS · Inventory & GSTLive

Sparks Business — Inventory, Sales & GST Invoicing Platform

Multi-tenant inventory, sales and GST-invoicing SaaS for Indian trading businesses

Built by Esparks IT Solutions · architecture & delivery led by Faiz Akram

Sparks Business is a multi-tenant inventory, purchase, sales, GST and invoicing platform for stock-driven businesses. Buy, stock, sell, invoice and stay on top of tax — one system, real GST math.

Sparks Business is a multi-tenant platform built by Esparks IT Solutions to run inventory, purchases, sales and GST invoicing from one system. It pairs a NestJS 11 API with an installable Next.js 15 PWA, backed by PostgreSQL 17 through Prisma 6 across 49 data models. Every query is scoped to its tenant through an AsyncLocalStorage-driven Prisma client extension, and an append-only audit table is enforced at the database level — even a direct update or delete against it is rejected by a trigger. GST math (CGST/SGST/IGST splitting, GSTIN validation) runs on decimal.js for exact, rounding-free results, and a real Tally XML importer lets a business bring in existing ledgers, vouchers and stock items instead of starting over.

The Problem

Running a trading business across Tally, Excel and WhatsApp doesn't scale.

Stock and sales live in different files

Purchases go into one register, sales into another, and GST gets computed by hand or bolted on at month-end — with no single view of what's actually in stock or who owes what.

GST math is easy to get wrong

Manually splitting CGST, SGST and IGST, tracking which invoice used which rate, and reconciling rounding differences eats hours every filing cycle.

Migrating off Tally feels like starting over

Years of ledgers, vouchers and stock history sit in an export file nobody wants to re-type.

A trading business doesn't need five tools and a spreadsheet. It needs one system that already knows what's in stock, what's owed, and what tax applies.

How It Works

  1. 1.Set up your business
  2. 2.Add products & parties
  3. 3.Record purchases
  4. 4.Sell and invoice
  5. 5.Track, report, back up

Key Highlights

  • Tenant isolation enforced at the database, not just the app layer
  • GST-correct invoicing with exact decimal math (CGST/SGST/IGST)
  • Real Tally XML import for ledgers, vouchers and stock items
  • Append-only audit log — a DB trigger rejects update/delete against it

By the Numbers

49 data modelsInstallable PWAHealth-gated CI/CD

Tech Stack

NestJS 11Next.js 15React 19Prisma 6PostgreSQL 17RedisBullMQArgon2id

See it in action