Mileage Reimbursement Log: Kill the Shoebox of Odometer Notes
Let employees log work trips, apply the right standard mileage rate by trip date, total it per person each month, and route it for manager approval before a reimbursement CSV ever leaves the building.
A web tool where field staff log trips (date, purpose, from/to or miles), the tool applies the correct mileage rate for each trip's date, totals each person's month, flags odd or duplicate trips, a manager reviews and approves, and the tool exports a reimbursement CSV in your payroll's exact columns.
Before you start
- A Supabase account (free)
- A Vercel account (free)
- A Resend account (free)
- Your current and prior mileage rate(s) with the dates they take effect
- How your payroll/AP system wants the reimbursement file (columns)
- Claude Code or any AI coding agent
The problem this kills
Right now, mileage reimbursement is a monthly archaeology dig. Field reps and home-care workers scribble odometer readings on sticky notes, email a photo of a notebook page, or hand in a smudged sheet at the end of the month. Someone in ops or finance then re-keys all of it into a spreadsheet, looks up which mileage rate was in effect (and gets it wrong when the rate changed mid-year), multiplies it out, eyeballs the suspiciously long trips, chases people for the purpose of a drive three weeks ago, and finally produces a number that everyone has to trust.
It's slow, it's error-prone, and it's the kind of thing that quietly overpays — or underpays and annoys your best field staff. You don't need a developer or an expensive expense platform to fix this. You can build the exact tool your team needs in an afternoon.
What you'll build
A simple internal web tool. Each employee logs in and records a trip: the date, the purpose, and either start and end locations or the miles driven. The tool looks up the mileage rate in effect on that trip's date (so a January trip and a July trip use the right rate even when the rate changed mid-year), multiplies it out, and rolls every person's trips into a monthly total. It flags the things a human should look at — an oddly long trip, a possible duplicate, two trips that overlap — and applies your commute-deduction rule if you use one. Then the manager opens a clean monthly view per employee, reviews the flags, and clicks Approve. Only after approval does the tool produce a reimbursement CSV in the exact columns your payroll or AP system expects.
What's inside the Implementation Plan
The downloadable plan is a step-by-step file you paste into an AI coding agent. It opens by interviewing you about your business — who drives and how they record trips today, whether you reimburse by typed miles or by addresses, your exact mileage rates and the dates they took effect, whether you apply a commute deduction, your monthly approval routine, and the messy edge cases — and then it tailors the data model, the rate logic, the flags, and every later step to your answers. This is not a generic template: the agent reflects a short spec back to you and waits for your thumbs-up before it builds anything. From there it walks the agent through the trip-entry form, the rate-by-date calculation, the monthly roll-up and flagging, the manager review-and-approve screen, and the reimbursement CSV export — each step with a ready-to-copy prompt. A fallback lets you build and use the whole thing today off typed miles, with no maps API required.
The governance it includes (this is the point)
This is money going out the door, so it ships with the controls a finance team needs: login so only your team can use it, row-level security so employees only ever see their own trips while managers see their team's, a complete audit trail of who logged, edited, approved, and exported what and when, a hard human-approval gate so no dollar amount is exported until a manager signs off, and duplicate guards keyed on employee + date + route so the same trip can't be paid twice. Oddly long and overlapping trips are surfaced for review instead of silently flowing into the total.
Who it's for
Ops managers and finance staff who reimburse field reps, home-care and in-home service workers, inspectors, technicians, sales teams — anyone who drives for work and currently hands in mileage on paper. If you can describe how your team tracks a trip and how you decide what gets paid, you can build this.
You've got this — start with the plan, paste the first prompt, answer the interview, and you'll watch your first month of mileage total itself up the same afternoon.