MileBack
Self Assessment for UK sole traders, with mileage on autopilot.
Surface

The problem
A courier or tradesperson in the UK is owed tax relief on every work mile, and most of it goes unclaimed because nobody logs the trips. The rest of their tax admin is split between apps, bank statements and a notebook, and it all comes due on 31 January.
Down the core
Trip detection
MileBack logs trips in the background, with no start or stop button, so every work mile counts towards tax relief.
I changed what it takes to open a trip. Any movement used to start one, so a walk to the shop could end up on a tax return as business miles. Now a trip opens only on evidence of a vehicle: one reliable reading faster than anyone moves on foot, or a sustained median speed above that vehicle’s floor, with a lower floor of its own for bicycles. Once the evidence is in, the trip is backdated to when the driving started, so no miles are lost while the app makes up its mind.
I built the automatic classification of trips, and the rule that only the phone that started a shift tracks it, so a rider signed in on two phones never logs the same miles twice.
“Trips inside a shift count as business automatically. Trips outside one are held for you to confirm.”mileback.ai



One ledger
I started the codebase and laid down its data layer: trips, shifts, income and expenses in one SQLite database on the phone, synced to Supabase. The app works with no signal, and the tax estimate, the profit and loss and the HMRC return all merge local and synced records by the same rule, so no two screens can disagree.
Every figure is rounded to the penny in one place, so a total built line by line always matches a total built in one go. I also built the Open Banking connection and the matching of platform payouts to the shifts that earned them.

Tax
I wrote the tax engine: income tax including Scottish rates and bands, National Insurance, student and postgraduate loans, pensions, the High Income Child Benefit Charge, losses carried forward and payments on account. It is unit tested, and checked against tax years as HMRC itself worked them out, to the penny.
I built the Making Tax Digital integration: connecting to HMRC, obligations, quarterly updates, year-end adjustments, the final declaration and amendments, for self-employment and UK property. Nothing is sent from incomplete records. It runs today against HMRC’s sandbox. Live filing stays locked on the server until an accountant signs off how our categories map to HMRC’s headings, because a button being hidden is not a control.



Outcome
In testing ahead of its store release: trips, income, expenses and the tax estimate all running off one ledger.