Khatapata

Replacing Paper Ledgers with a Digital Inventory System

How I built a SaaS tool to help small businesses move from manual bookkeeping to real-time financial insights.

The Problem

Small business owners in Nepal and similar markets track everything in physical notebooks — inventory counts, sales records, credit given to customers, and daily profit. This system is error-prone, time-consuming, and provides zero analytical insight. They needed something as simple as a notebook but as powerful as enterprise software.

Product Architecture

The application follows a classic SaaS architecture with a Next.js frontend, Supabase backend, and React Query for state management. The data model centers around businesses, each with products, transactions, and customer credit records. Real-time subscriptions keep dashboards updated across multiple devices.

Key Technical Decisions

Supabase Realtime

Enables live inventory updates across devices — when a sale happens on one device, the dashboard updates everywhere instantly.

React Query for server state

Provides optimistic updates, caching, and background refetching — critical for a tool used in environments with unreliable internet.

Nepali date system support

Business owners think in Bikram Sambat (Nepali calendar), so the app supports dual date systems to feel native.

Lessons Learned

01

The biggest competitor isn't another app — it's the paper notebook. The UX must be faster than flipping a page.

02

Offline-first thinking matters in emerging markets. Even small network delays feel broken.

03

Credit management (khata) turned out to be the killer feature — it's the pain point that drives adoption.

Future Vision

Build an ecosystem of connected small businesses — supplier networks, credit scoring, and financial insights that help owners make better decisions.

Explore Khatapata

See the full product — features, tech stack, and the problem it solves.

View Product