SAATATYA LABS
Enquiry

Case study · Elite Ceramics

Two books, one truth.

Elite Ceramics trades tiles on two rates at once, a cash rate and a bill rate. Their platform keeps both books in one pass, GST-correct to the rupee, and it is used for the daily books at erp.eliteceramic.in.

Running · daily booksFastAPIPostgreSQLReact 19 PWAAWS EC2

106

API endpoints

23

Database tables

31

Schema migrations

38

Screens

Station 01 · The trade

Every line has two rates.

Tiles trade runs on a cash rate and a bill rate for the same box. Generic accounting software holds one number per line, so the second book lives in heads and diaries, and dues quietly drift. The books needed to hold both, per line, per party.

trade · two books
BILLLEDGERPAYMENTDUE← per-book dues
Dual-book reality

Station 02 · The system

One entry, both books.

Every sale and purchase line carries its cash rate and its bill rate together. Bills track received and due amounts per book, party ledgers keep a running balance per book, and entry is keyboard-first so the operator never leaves the keypad.

Accounting · daily entry
Bill #A-1042 · Elite Ceramics
₹ 42,300
cash + bill · one pass
Cash ledger+ ₹42,300 posted
Party ledgerbalanced
GSTGSTR-ready
Day total₹ 3,18,450 · 27 entries
Cash and bill, one pass

Station 03 · The engine

GST correct to the rupee.

The engine computes CGST and SGST inside the state and IGST across states, apportions freight into line values, and rounds to the whole rupee the way a CA expects. All of it in exact decimals, never floating point.

gst · engine
→ intra-state: CGST + SGST
→ inter-state: IGST
→ freight apportioned to lines
✓ whole-rupee round-off
✓ exact decimals, never float
CA-ready

Station 04 · The architecture

Many companies, many years.

One platform holds multiple companies and financial years, with opening balances carried forward between them. A React PWA installs on the desk computer, FastAPI serves it from EC2, and every push deploys itself with a nightly backup at two.

system map · books
REACT PWAFASTAPIPOSTGRESQLNIGHTLY BACKUP
Multi-company, multi-FY

Station 05 · Still running

The daily books, daily.

Elite Ceramics closes its day in this system, at erp.eliteceramic.in, behind TLS, with automated backups and a documented restore drill. Built by Saatatya Labs, kept running by Saatatya Labs.

status · live
ENDPOINTS 106TABLES 23STATUS RUNNING
● Running today

System map · verified

The architecture, on paper.

The office

React 19 PWA

installable · keyboard-first

Core

FastAPI on EC2

16 routers · GST engine

Data

PostgreSQL

23 tables · multi-company

Backup archive

nightly · 02:00 IST

Outside

GitHub Actions

deploy on push

Arrived. Now let's chart yours.

Every client gets a new flight path. Bring us the destination and we will engineer the route.