> For the complete index of this site, see [llms.txt](https://alexdewison.com/llms.txt).

# How a tamper evident till log catches an edited sale

The UK plans mandatory software standards for till systems to tackle electronic sales suppression. Respondents to HMRC's consultation pointed to hashing and transaction chaining as ways to make changes detectable. Here each record stores a fingerprint of the record before it, so changing any past record breaks the chain.

This is the text version of an interactive demo. The interactive version runs in your browser on mock data: [https://alexdewison.com/labs/tamper-evident-till-log/](https://alexdewison.com/labs/tamper-evident-till-log/)

## 1. Use the till

When should a record be protected?

- Ring up a sale
- Start a sale, then void it
- Refund the last sale

## 2. Try to hide takings

- Quietly delete a sale
- Edit a sale amount down
- Take cash without ringing it up

## 3. Inspect

- Run integrity check
- Reset

## Till record

- Event
- Amount
- Fingerprint

How it works: each fingerprint is a SHA-256 hash of the record's own details plus the previous record's fingerprint. Editing or deleting a record changes what the next fingerprint should be, so an inspector recomputing the chain finds the first break. Most consultation respondents preferred records to be protected when a transaction is created rather than when it is finalised, so voids and abandoned sales stay visible. HMRC plans a technical consultation on the detail in summer 2027. Source: GOV.UK, Electronic Sales Suppression summary of responses, updated 28 October 2026.

---

Part of the [interactive payments demos](https://alexdewison.com/insights/demos/) by Alex Dewison. Mock data only.
