Done 0 of 0

HMRC Mile Claim

If you drive to a different hospital every few months as an NHS doctor in training, you can claim tax back on those miles. This guide takes you from a folder of payslips to a finished claim, one tick at a time.

Start with step 1
Your documentsPayslips, placement list, addresses. They stay on your computer.
AI assistant + toolReads them and does the sums on your machine.
You checkIt stops at five checkpoints and waits for you.
Claim packSummary, spreadsheet, emails to hospitals, checklist.

Is this for you?

Tick what is true for you.

These five ticks are only a quick check. They are not counted in your progress.

What could it be worth?

A rough guess before you start. Example numbers shown. Change them to yours.

0miles a year
0approved amount (45p a mile, 25p after 10,000)
0tax back a year, roughly
1

Get set up

about 15 minutes
2

Collect your documents

about 1 hour

Put everything in the my-documents folder inside the project. Nothing in that folder is ever published.

Payslips

Placements

Where you lived

Optional, makes the claim stronger

3

Start the assistant

5 minutes
You are helping me prepare an HMRC claim for the miles I drove to NHS hospital placements (mileage allowance relief).

Use the tool in this folder. First read AGENTS.md and follow it exactly.
My documents are in the my-documents folder.

Rules:
- Keep everything on my computer. Do not upload anything.
- Never change or move my original files.
- Stop and wait for me at every checkpoint.
- Never invent data. If something is missing, tell me and ask.
- Explain things in plain English. I am not technical.
- This is a calculation aid, not tax advice.

Start with step 0: give me a short plan, and check that python3 and pdftotext are installed. Ask before installing anything.
4

Answer at each checkpoint

a few sessions

The assistant stops and waits at each of these. Nothing moves on until you reply.

Checkpoint 1: conversion
Checkpoint 2: payslip lines
Checkpoint 3: placements and risks
Checkpoint 4: distances
Final checkpoint: summary
5

Read your results

30 minutes

Everything is in my-documents/tax-claim.

6

Ask for proof

10 minutes, then wait a month
7

Call HMRC

0300 200 3310

Do this before you file. Write down the date, the adviser's name and any reference.

8

File the claims

earliest deadline first

You have 4 years after each tax year ends. The days left are counted from today.

Tax yearLast day to claimTime leftFiled

The newest year can only be filed after 5 April, once the tax year has ended.

Your privacy

The scripts in this project never send anything anywhere. They run on your computer.

The AI app you choose will read your documents to help you. Its own privacy terms apply, so check them first.

Your documents and results stay in my-documents, which git ignores, so they are never published by accident.

What it cannot do

It cannot tell you for certain that a hospital counts as a temporary workplace. It flags risks. Check with HMRC or an accountant.

It estimates days from working days and leave unless you give it rotas.

It reads ESR payslips only, and does not include Scottish tax bands.