Finance OS

The administration system I built for my own company: quotes, invoices, purchases and VAT, with rules strict enough that I trust the numbers.

Year
2026
Type
Internal tool
Stack
Next.js, Supabase, TypeScript
Status
In daily use, private
Open cobalt vault with a brushed steel door and warm coral interior.

The photographs on this page are illustrations made for this site, not screenshots of the project.

What it is

Finance OS is the business administration of The Creativity Lab, my company. It handles quotes and invoices, credit notes, purchases and receipts, payment reminders, recurring invoices, a customer portal, assets and depreciation, the boxes of the Dutch VAT return and a year-end close.

It is private. One company uses it, behind mandatory two-factor sign-in, and search engines are told to stay out. There is no public version and no demo to click through. This page is for anyone curious what it takes before you trust software you wrote yourself with your own books.

Machined steel rings and locking bolts inside the vault door.

Decisions that shaped it

Most of the interesting decisions are refusals. Each one closes a door that an administration should not have open.

  • Money is stored as whole cents and VAT rates as basis points, so 21% is 2100. No floating-point number ever touches an amount.
  • Invoices store a VAT code, not just a percentage. Zero-rated, exempt and reverse-charged sales all come to €0 of VAT, but they are different things to the tax office.
  • VAT is calculated once per VAT code, not per line, so a long invoice cannot collect rounding differences.
  • An invoice only gets its number after validation passes, so a failed attempt never burns a number in the sequence.
  • A finalised invoice is a frozen snapshot. Editing the customer later cannot rewrite it, and a correction is a credit note, never an edit.
  • Overdue is worked out from the due date and paid from the payment records. Neither is stored as a status that can go stale.
  • There is no reminder queue. A reminder can only go out because a person pressed send. Recurring invoices produce drafts and stop there.
  • A model reads uploaded receipts on the server, but its answer is a suggestion. Nothing becomes accounting data until a person approves it, and the tax engine only reads approved values.
  • The VAT return prepares and never files. When a 0% sale could belong in three different boxes, it is reported as unplaced, with the reason, instead of guessed.
A hand turning a polished wheel on a cobalt vault door.

How it is built

The business rules live in a layer of plain TypeScript with no dependencies, covered by around a hundred test files. Storage sits behind one switch, and delivery, document reading, PDF and e-invoicing are replaceable providers. Data is in Supabase Postgres with row-level security.

There is no chart library and no headless browser. The cash-flow chart is hand-built SVG, and invoices and proposals are drawn directly to PDF on the server. A customer portal link is itself the credential: 32 random bytes, of which only a hash is stored.

I wrote most of it together with a coding agent, one isolated branch per task. That way of working has its own page: the agent workbench.

Open cobalt vault with a brushed steel door and warm coral interior.

What it does not do

E-invoicing stops at mapping, validation and UBL. No access point is connected, so nothing can be transmitted. The bank import runs on demo data: there is no Open Banking link. The tax engine files nothing, cash accounting is not implemented, and the year-end close is neither annual accounts nor a tax return.

It is in use for my own administration and has since grown beyond finance, with notes, mail and calendar in the same workspace. It stays an internal tool.

More work.

Let’s talk

Curious about an experiment, or want to compare notes? I'd like to hear from you.

Need a website or a designer? That's The Creativity Lab. Visit the studio