Skip to content
All case studies
ProductSaaS / Freelance finance

Duesheet

Proposals, invoices and a client portal for freelancers who bill internationally

In short: Duesheet is an in-house DanixSoft product (SaaS / Freelance finance): Proposals, invoices and a client portal for freelancers who bill internationally. Daniyal Alam built it — product decisions, architecture and code. Live at duesheet.danixsoft.com.

An invoicing app for freelancers and small studios who bill clients abroad: proposals clients accept online, invoices in eight currencies, a private portal for each client, and payments recorded with the rupees that actually landed.

Duesheet social card: “Invoices clients take seriously.” with the supported currencies USD, GBP, EUR and PKR.
Industry
SaaS / Freelance finance
Scope
Products we build and run in-house at DanixSoft
Core stack
Next.js 16 · React 19 · TypeScript · Supabase
Year
2026

The problem

Freelancers billing international clients juggle invoices in Word or spreadsheets, lose track of what is outstanding in which currency, and can't say how many rupees a dollar invoice actually brought in after fees and rates.

The solution

Every document is written through database functions that compute the totals and allocate gap-free numbers only when an invoice is sent. Payments are an append-only ledger that records what landed in PKR, so the effective rate comes from real receipts, and each client reads only their own documents through a tokenised portal.

My role

I built it: the commit history of its repository is mine — product decisions, architecture and code.

DanixSoft team

An in-house DanixSoft product — built and operated by the studio, not for a client.

Technical challenges

The engineering problems this build had to get right.

  • Money as integer minor units, with the same rounding in SQL and TypeScript and tests comparing the two
  • Column-level grants protecting totals, numbers and tokens
  • Client links that return only that client's documents

Architecture

Frontend
Next.js 16 (App Router, Server Actions), React 19, TypeScript, Tailwind CSS v4
Backend
Postgres functions for totals and numbering; pdf-lib for PDFs
Database
Supabase Postgres with row-level security and Auth
Infrastructure
Vercel; Vitest and a database rules and isolation check script

Implementation — what shipped

Proposals accepted online, with one-click conversion to an invoice
Invoices in eight currencies with discount, tax and sequential numbering
A client portal and per-document links, with server-generated A4 PDFs
Payments recorded with the PKR amount received, and a yearly ledger CSV
Email reminders around the due date, and recurring invoices

Engineering notes

Lesson for similar SaaS builds: design for money as integer minor units, with the same rounding in SQL and TypeScript and tests comparing the two and column-level grants protecting totals, numbers and tokens up front — these are the parts that are expensive to retrofit once the feature list grows.

Technologies

  • Next.js 16
  • React 19
  • TypeScript
  • Supabase
  • PostgreSQL
  • pdf-lib
  • Tailwind
  • Vitest

Need something like this? Tell me about it.

A 30-minute discovery call is enough to scope the approach and a realistic budget.