Back to Blog

Building Sundry: A Bookkeeping App for Freelancers, from First Commit to the App Store

My Projects · Published November 17, 2026

Sundry is a bookkeeping app for freelancers, sole proprietors and small businesses in Canada and the US. It scans receipts, sends quotes and invoices with GST/HST, matches bank deposits to the invoices they pay, and builds the reports your accountant asks for at tax time. I design, build and ship it on my own.

This post covers what Sundry does, how it went from first commit to the App Store and Google Play, the stack, and the technical decisions I’d make again. If you’re a freelancer looking for an app, start at mysundry.app. If you build apps, read on.

What Sundry does

Solo businesses deal with money in two directions, and most apps only handle one. Sundry puts both in one place and connects them:

Side What you do What Sundry does
Money out Snap a receipt, pick a file, share from email or import from Drive Reads merchant, date, amount and tax with AI, suggests a category, flags duplicates
Money in Send a quote, turn it into an invoice Builds a branded PDF on the phone, works out GST/HST, tracks it until it’s paid
The bank Upload a bank statement Reads the deposits and matches them to your invoices as payments
Tax time Pick a period Tax report, profit and loss, a ledger, and a ZIP package for your accountant

Receipts can also be billed back to a client: attach an expense to an invoice and add a markup.

From first commit to the stores

  • May 16, 2026: first commit.
  • May 23, 2026: first TestFlight build (version 0.1.0), one week later.
  • May to August: about two releases a month to testers, adding quotes, bank statement matching, more reports and subscriptions.
  • September 2026: a redesign with four tabs (Home, Expenses, Income, Reports) and a Scan button in the middle, and a switch to calendar versioning (26.9.0).
  • November 2026: version 26.11.2, live on the App Store and Google Play.

In numbers, from the repository: about 940 commits, 41 releases, 650 Dart files and 25 features in six months.

Shipping small releases often kept me honest. Every release has a plain-language changelog entry that goes straight into the TestFlight and Play notes, so I had to be able to explain each change to a user.

The stack

Layer Choice
App Flutter for iOS and Android from one codebase
State and models Riverpod 3 with code generation, Freezed 3, flutter_hooks
Navigation go_router
Backend Supabase: Postgres with row-level security, Auth (Google, Apple, email link), private Storage, Edge Functions
AI One Edge Function in front of Gemini reads receipts, invoices and bank statements
PDFs Rendered on the device with the pdf and printing packages
Subscriptions Adapty, with a free plan plus Solo and Pro
Optional storage The user’s own Google Drive

I’ve written up the patterns in more detail: Riverpod + Freezed + build_runner for state and models, and how I structure a Flutter app for the feature-first folder layout Sundry uses.

Decisions I’d make again

1. Postgres as the source of truth, not Drive

The first plan kept everything as files and JSON in the user’s Google Drive. It sounded simple and private. It fell apart as soon as I thought about reports: a profit and loss statement is a query across invoices, payments and expenses, and you can’t run that over a folder of files.

So on day one I switched to Supabase. Every table that belongs to a user has an owner column, and row-level security in Postgres makes sure a user can only read their own rows, whatever the app does. Drive came back later as an opt-in place for files, not for the data.

2. AI behind a server function

Receipt, invoice and bank statement reading all go through one Edge Function. The app never holds an AI provider key. The function checks the user’s monthly AI credits against their plan, records the usage, and calls the model.

That gives me one place to change models, tune prompts and control cost, and old app versions keep working when I change any of it.

3. Plan limits enforced in the database

The free plan has limits (for example 3 invoices a month). The app checks them first so it can show a friendly upgrade screen. The real rule lives in Postgres triggers, which reject an insert over the limit with a specific error code the app recognizes. A modified app or a race between two phones can’t get around it.

4. Derive state instead of storing it

An invoice is “overdue” when it’s sent and the due date has passed. Sundry calculates that when it shows the invoice instead of storing it, so there’s no scheduled job to keep a status column correct. “Paid” and “partially paid” come from payment rows created when bank deposits are matched. Fewer stored states means fewer ways for data to disagree.

5. The user’s files stay the user’s

With Drive storage on, a file the user picked from their own Drive is linked, never copied or deleted. Sundry only deletes files it created itself, and even then it moves Drive files to the trash. Each record stores one reference that says where its file lives, so adding another storage provider later is a new type in code, not a database migration on every table.

6. Draw PDFs on the phone

Invoices and reports are drawn on the device. It works offline, costs nothing per document, and keeps the client’s details off any server that renders PDFs.

What I learned

  • Pick the data model before the UI. Dropping the Drive plan cost nothing on day one. Three months in, it would have been a rewrite.
  • Keep business rules in one place. A rule like “drafts don’t count in totals” is written once in the domain layer and mirrored in the SQL reports, so the Home screen and the tax report never show different numbers.
  • Write the changelog for users. If I couldn’t explain a change in one plain sentence, it usually wasn’t finished.

Try Sundry

Sundry is free to start, with Solo at US$6.99 a month and Pro at US$12.99 a month. Get it on the App Store or Google Play, or read the Sundry guides on receipts, GST/HST and invoicing in Canada.

See the other apps I’ve built, or if you need an app like this for your own business, get in touch.