Desktop app ยท Flask + SQLite

Udhar Ledger

Udhar (credit) ledger app that replaced a grocery store's paper khata. It tracks what customers owe the shop and what the shop owes vendors, with WhatsApp reminders, printable khata slips and live reports.

Client
Abu Bilal Superstore
Industry
Grocery retail
Location
Pakistan
Year
2026
Timeline
Ongoing maintenance
Udhar Ledger

Overview

From problem to working system.

01Before

The challenge

The store kept its udhar (credit) records in a paper khata. It was hard to see the full picture of what customers owed the shop and what the shop owed its vendors. Sending reminders and statements meant doing everything by hand.

02After

What I built

I built a computer-based udhar ledger that replaced the paper khata. The shop records every credit and payment for customers and vendors, and each account keeps a running balance. A dashboard and reports show what customers owe and what the shop owes. Khata statements go out on WhatsApp or print as receipt-size slips.

Key features

What the solution does.

8 features delivered

  1. 01Customer and vendor udhar ledgers
  2. 02Dashboard of money owed both ways
  3. 03Colour-coded udhar and advance balances
  4. 04WhatsApp reminders and vendor reorders
  5. 05Printable receipt-size khata slips
  6. 06Vendor due dates and overdue alerts
  7. 07Business Pulse reports with charts
  8. 08Help guide in English and Urdu

Results

What changed for the client.

20+customer accounts managed

  • Paper khata fully replaced with the computer system
  • Owner sees the complete udhar picture on one dashboard
  • Overdue vendor bills are flagged before they slip
  • System is live and running smoothly with ongoing maintenance

Screenshots

Full story

How it came together.

Abu Bilal Superstore is a grocery store in Pakistan. Like many local shops, it ran udhar (credit) on a paper khata, both for customers who buy on credit and for vendors the shop buys from on credit.

I built a computer-based ledger that runs on the shop’s own PC, so it works without internet. The owner adds customers and vendors, then records every udhar and payment. Each customer’s page turns red when they owe the shop and green when they have paid in advance. Vendor bills carry due dates, so overdue and due-soon bills are flagged, and payments clear the oldest bills first.

The dashboard and Business Pulse reports show the full picture: what customers owe, what the shop owes vendors, and how money moved month by month. Any khata can be sent as a ready-made WhatsApp message or printed as a receipt-size slip for any time period. A PIN lock, backup and restore, a help guide in English and Urdu, and a built-in AI help assistant keep it simple and safe to use.

The system went live in October 2026 and I maintain it on an ongoing basis. Screenshots on this page use demo data, not the shop’s real customers.

Built with

  • Python
  • Flask
  • SQLite
  • Groq AI

Project type

Your project next

Want results
like this?

Tell me what your business needs and I will show you how I would build it.

Book a free call Send an enquiry WhatsApp Replies within 24 hours