MQT · Mohd Quamar Tyagi
Home

Case study · Founding Engineer · Production ERP

Takkada

Standalone Tally-Replacement ERP

A production accounting & ERP platform built end-to-end as founding engineer at Takkada. 139 businesses onboarded, 83 actively syncing their books from Tally, 716K+ vouchers mirrored and 196K receipts in production. Native double-entry accounting core in PostgreSQL, filing-ready GST compliance (GSTR-1/GSTR-3B GSTN JSON export, e-invoice, e-way bill), WhatsApp Business automation, and an AI document-import pipeline, replacing Tally workflows for real businesses.

+23 businesses in 7 days · +62 in 30 days

139 · Businesses onboarded

83 · Active Tally syncs

716K+ · Vouchers mirrored

196K · Receipts

Stack

Flutter / Supabase / PostgreSQL / Next.js / TypeScript

PaySaathi architecture: Flutter app to Supabase Edge Functions to PostgreSQL double-entry ledger to external GSTN, WhatsApp, and Gemini services

Four layers: Flutter app → Supabase Edge Functions → PostgreSQL (double-entry ledger, RLS) → External (GSTN, WhatsApp API, Gemini/Vertex)

Product surfaces

Marketing site

Marketing site

Live product marketing site — real businesses, real receivables

Mobile purchase flow

Mobile purchase flow

Add purchase on mobile: pick a party to create or update a draft invoice

GST invoicing

GST invoicing

Line items with HSN and GST split, e-invoice / e-way bill actions, share over WhatsApp

Admin & revenue ops

Admin & revenue ops

Partner workspace: payouts, commissions, targets, dealer tiers

What I owned

The work spans product surfaces, data model, backend functions, admin operations, and the desktop sync edge.

App surface

Flutter client flows for registers, parties, vouchers, imports, reminders, reports, and mobile-first operations.

Backend core

Supabase Edge Functions, PostgreSQL schema, RLS-aware services, voucher state, and integration contracts.

Admin and ops

Next.js CRM for partner/admin workflows, plan controls, assisted customer setup, and production support paths.

Tally connector

Desktop sync layer with IPC control, connection testing, company selection, incremental export, and status monitoring.

What shipped

Mined from the local PaySaathi/Takkada app, backend, admin dashboard, and loader histories.

Standalone accounting core

Backend migration arc replaced inherited table/RPC assumptions with app-native voucher families, register periods, bill-wise settlement, ageing, analytics, and financial-statement surfaces.

Voucher and compliance workflows

App and backend commits added GRN/Receipt Note, stock journals, GST return exports, e-invoice/e-way bill tables, invoice-detail columns, PDF rendering, and WhatsApp delivery paths.

Access, tenant safety, and gates

RBAC work covered voucher-type grants, restricted-member behavior, tenant-write guards, license checks, feature gates, granular permission fallbacks, and safer deployment targets.

Admin revenue operations

Admin dashboard commits added MD rate cards, usage views, assisted customer creation, wallet reconciliation, partner/dealer tier controls, onboarding caps, and production Cloudflare deployment constraints.

Tally loader reliability

Loader work covered IPC sync control, GRN/Material In-Out writeback, resumable first sync, checkpoints, per-company last-run status with a live syncing overlay, queue-scoped wait-instead-of-skip scheduling, and SSRF/path-traversal hardening of the download path.

Customer-facing automation

Delivery paths included public buyer orders, payment links, WhatsApp own-number onboarding, template status trails, attached-PDF template provisioning, and polished failure messaging.