17/07/2026
KhataBook Pro now has 37 database tables
and 18 backend functions.
Here's what building a financial OS
for Pakistani freelancers actually requires:
KhataBook Pro now has 37 database tables
and 18 backend functions.
Here's what building a financial OS
for Pakistani freelancers actually requires:
THE CORE PROBLEM:
Pakistani freelancers and small agencies track
income/expenses in WhatsApp messages, notebooks,
or nothing at all. Tax season becomes chaos.
WHAT WE BUILT:
β AI Financial Advisor (GPT-4o powered)
Ask "How much did I earn this quarter?"
Get an instant, accurate answer.
β Budget & Expense Tracker
7 dedicated pages, 6 database tables
just for categorizing and visualizing spend.
β Multi-domain architecture
app.khatabookpro.com, expense.khatabookpro.com,
invoice.khatabookpro.com β each focused,
all connected via secure cookie-based sessions.
β Affiliate program built in
Because every Pakistani SaaS needs organic
distribution from day one.
The hardest technical problem wasn't the AI.
It was making cross-domain authentication
work seamlessly β a user logs in once,
moves between 4 subdomains without re-login.
Solved with cookie-based Supabase sessions
shared across the domain.
Building financial tools for Pakistan means
solving for trust, simplicity, and local context
not just copying what exists internationally.
What financial tracking problem do you
personally struggle with as a freelancer?
π