FinanceCase study 14 / 20

Receipts & Compliance

An offline tool that reconciles receipts against bank statements across my limited companies and tracks every Companies House deadline. The books never leave my machine.

Role

Sole designer and engineer

Status

● Running in production

Models

No model, on purpose

Stack

Zero-dependency Node · File System Access API · CSV parsing · Data in the vault

98%
reconciled to the penny
Live
▶ Watch the demo

The short version

  • Auto-detects five UK bank CSV layouts and day-first dates.
  • Matches to within 2p and five days, then handles subscriptions, then lists exactly what's missing.
  • Every company's accounts and confirmation-statement deadlines on one escalating tracker.

01Why I built it

Several limited companies means several bank accounts, several piles of receipts and several sets of filing deadlines. Reconciliation SaaS costs money and wants your bank data. I wanted my compliance position at a glance, on my own disk.

02How it works

  1. ReadCSVs read and written directly on disk through the File System Access API, from a folder I pick.
  2. DetectFive bank layouts recognised automatically: Debit/Credit, Paid Out/In, Money Out/In, signed Amount, and Amount + Type.
  3. MatchEach money-out line against a receipt on gross amount within £0.02 and date within ±5 days, each receipt used once.
  4. SubscriptionsRecurring payments checked against subscription rules, with deferral logic.
  5. ChaseEverything else split into “missing receipt” and “orphan receipt”.
  6. ComplyAccounts and confirmation-statement due dates per company, escalating from On track to Overdue.

03Model choices, and why

Matching and compliance

No model: deterministic rules

Money needs exact, auditable answers. “Probably matches” isn't acceptable to an accountant, and a model that's right 99% of the time is wrong on the line that matters.

04Why there's no AI here

  • Every match is explainable: this amount, this date, this receipt.
  • Every result is repeatable: run it twice, get the same answer.
  • Knowing when not to use a model is part of the job. The AI in my finance stack sits at the edges (Butler drafting invoices from a message), never in the ledger.

05Cost

  • Zero. No server, no database, no subscription, no uploads.

06Performance

  • Runs in the browser with no build step and no dependencies.
  • Auto-refreshes every 10 seconds, paused while I'm typing.
  • Live data sits in the vault, so it's version-controlled with everything else.

07Trade-offs I made

Chose

Rules

Over

A model

Less flexible with messy data, completely trustworthy with money.

Chose

Local files

Over

A cloud ledger

No bank feeds, but no third party holding the books.

Chose

£0.02 and ±5 days

Over

Exact match only

Tolerates rounding and posting delays without letting false matches through.

08Guardrails

  • Data never leaves disk.
  • Each receipt can only match one transaction.

09What I'd do next

  • Pull receipts from email automatically into the folder it reads, so the chase list shrinks on its own.

10What this shows

Applied AI engineering

The judgement to leave a model out when correctness matters more than flexibility.

Product

Turns a stressful admin job into one number and one list.

Solutions

Messy real-world data formats handled robustly.

Across the fleet: every build runs on one self-hosted Linux server, binds to localhost and is reached only over a private Tailscale network. AI inference runs on a Claude subscription through one in-house router (part of Sentry) rather than per-token API keys, with open-weight models on Ollama as the local layer: on the server, and on a 64 GB MacBook Pro shared over Tailscale for heavier local work. Everything is backed up to GitHub and a separate cold disk, and nothing reaches another person without a human tap.

Hiring for applied AI, product or solutions work? I'd like to hear about it.