SaaS
Digital KhataThe Paper Shop Register, Rebuilt as a Multi-Branch POS
Digital Khata is a multi-branch retail POS and inventory system that replaces the paper shop register for Pakistani retailers.
- Retail POS & Inventory Management
- Pakistan
- 30 Weeks
- Web & Desktop POS Platform
About the project
Project overview
Digital Khata is a multi-branch retail POS and inventory system that replaces the paper shop register for Pakistani retailers. Cashiers scan or search products into a cart and check out in cash or on Udhaar, the customer-credit convention most local shops run on, while owners manage purchasing, stock, suppliers and staff across every branch from one account. Each sale updates stock and the customer's running ledger in a single transaction, so the register, the stockroom and the credit book always agree. The platform runs in the browser and ships as an installable desktop app with English and Urdu interfaces.
- Industry
- Retail POS & Inventory Management
- My role
- Full Stack Developer — POS, inventory and ledger modules
- Duration
- 30 Weeks
- Delivery
- Web & Desktop POS Platform
- Location
- Pakistan
The challenge
The Paper Register & Credit Tracking Gap in Local Retail
Small and mid-sized shops still ran sales, stock and customer credit from handwritten registers, which made daily reconciliation slow and errors hard to trace. Key challenges included:
Customer credit (Udhaar) lived in notebooks, with no running balance, credit limit or recovery history per customer.
Stock counts drifted from reality because purchases, sales, returns and adjustments were never recorded in one place.
Owners with several branches had no reliable day-end figures and no way to stop backdated or unrecorded transactions.
The solution
A Ledger-First POS for Every Counter
A full-stack POS was built around accounting discipline, so every sale, payment and stock movement is recorded once and traceable afterwards. Key features include:
01
Udhaar Customer Credit Ledger
Every credit sale and payment posts to a per-customer debit and credit ledger with credit limits, outstanding balances and recovery tags, plus a one-click receive-payment flow.
02
Purchase-to-Stock Pipeline
Purchase orders, goods receipts, batches and stock movements roll up into live per-branch stock, with returns, adjustments, transfers and low-stock thresholds.
03
Business Day Controls & Reporting
Sales and payments require an open business day per branch, closing with a Z-report. Seventeen built-in reports cover sales, profit, purchases, stock and outstanding credit.
Screens
Technologies used
Stack & integrations
- Next.js
- TypeScript
- PostgreSQL
- Prisma
- NextAuth
- Electron
- Tailwind CSS
- shadcn/ui
- next-intl
- Zustand
What it does
Key features
- Barcode and search-based checkout with cash, credit and card payments
- Customer credit (Udhaar) ledger with limits and outstanding balances
- Multi-branch management under one owner account
- Product variants with units, barcodes, racks and manufacturers
- Purchase orders, goods receipts and batch tracking
- Purchase returns, sales returns and stock adjustments
- Supplier accounts and payables
- Business day open and close with Z-report
- Role-based staff access for managers, cashiers and salespeople
- English and Urdu interface with an installable desktop build




