HMRC's questions, answered from the records
If HMRC opened an enquiry into this project, these are the six things a caseworker would ask. For each one, here's what the records answer and what they don't. Click any card to see the evidence behind it. (The engine was run once on these records and the results saved; nothing is being processed now.)
By hand: about 4.8 hours of senior time to read the 21 records, pull out and check 35 quotes and write 5 questions: about £430.
With ClaimEvidence: 41 seconds and one credit (from about £60 a project on the Firm plan to £195 pay as you go), then your review.
How we worked this out
3 minutes to find and read each record, 5 minutes to copy and check each quote against its source, 10 minutes to spot each gap and write the question, at £90 an hour, a typical charge-out rate for this work. A rough guide, not a promise: it counts the digging you stop doing, not the judgement you keep.
- 1 place where the records contradict each other
- 1 quote dated outside the claim period, flagged so they aren't claimed by mistake
- 6 routine items set aside, so they aren't overclaimed
- 5 precise questions to settle with the engineer now, not during an enquiry
Each of these is cheap to fix before submission and costly if HMRC finds it first.
Show everything on this page · Fold it back up · Detailed view: the full evidence pack
1. What was the baseline: what could already be done when the project started, and why wasn't that enough?
HMRC wants the starting point: what the company, and the field, could already do. Without it there's no advance to measure.
In short: 3 statements from the records, backed by 5 dated quotes. 2 things to ask the engineer.
The records show 3 statements
Reconciliation ran as a nightly batch against Postgres, completing in 3h 40m with no intraday matching at all.
Evidence: 2 dated quotes from the records
Off-the-shelf matching engines ReconPro and LedgerMatch both reconcile in batches of at least 5 minutes and neither supports streaming matches.
Evidence: 2 dated quotes from the records
There was no published design that does exactly-once streaming matching on the ledger model used.
Evidence: 1 dated quote from the records
Ask the engineer 2 questions, where the records are silent or disagree
No information about what sync methods or conflict resolution approaches were known or available at the start of the project.
Ask: What existing sync solutions or conflict resolution methods did you evaluate before starting this work, and why were they insufficient for offline cash payment recording?
No information about existing offline capabilities in the merchant app or similar products.
Ask: Did the merchant app have any offline capabilities before this work, and what offline sync approaches were you aware of in the market?
2. What advance in science or technology was the company seeking?
The new capability the team set out to achieve, which didn't already exist. It's the heart of the Additional Information Form.
In short: 2 statements from the records, backed by 2 dated quotes.
The records show 2 statements
Matched payments must be visible to merchants within 500 ms of the second leg arriving, at peak volume of 4k transactions per second.
Evidence: 1 dated quote from the records
The work sought to enable offline recording of cash payments with conflict-free synchronization across multiple devices.
Evidence: 1 dated quote from the records
3. What was the technological uncertainty, and why couldn't a competent professional readily resolve it?
What the engineers genuinely didn't know how to do at the time. Records made at the time count for far more than a narrative written later.
In short: 4 statements from the records, backed by 8 dated quotes. 2 things to ask the engineer.
The records show 4 statements
Whether reconciliation could stay under 1s once volume passed 4k tx/s on the current store, with no known way to achieve this. resolved
Evidence: 2 dated quotes from the records
Whether exactly-once matching can be kept when the ledger is partitioned across shards. abandoned
Evidence: 2 dated quotes from the records
How to resolve conflicts when two devices edit the same payment offline. resolved
Evidence: 2 dated quotes from the records
How to prevent sync timeouts on slow networks in rural areas. resolved
Evidence: 2 dated quotes from the records
Ask the engineer 2 questions, where the records are silent or disagree
No information about what was uncertain regarding operation log replay before implementation.
Ask: When you switched to operation log replay, what aspects of implementing it were uncertain or unclear at the outset?
No information about what was uncertain regarding delta encoding or backoff strategies before implementation.
Ask: What was uncertain about implementing delta encoding and backoff with jitter for the network performance issues?
4. What did the team try, when, and what happened?
The approaches tried, with dates and results, including the ones that failed. Failures are strong evidence the outcome was uncertain.
In short: 12 statements from the records, backed by 16 dated quotes.
The records show 12 statements
2025-06-16: Sharded read model by merchant to parallelise matching. → First load test at 4k tx/s produced p99 match latency 2.7s, well over target. failed
Evidence: 2 dated quotes from the records
2025-06-24: Continued sharded read model approach. → Hot merchants created skewed shards and rebalancing made ordering guarantees break. failed
Evidence: 1 dated quote from the records
2025-07-21: CRDT-based merge for concurrent ledger updates so shards can match independently and merge later. → CRDT merge got p99 to 1.4s but double-counted refunds when a reversal arrived before the original. partial
Evidence: 2 dated quotes from the records
2025-08-05: Added causal ordering on reversals to the CRDT approach. → Refunds no longer double-count but p99 is still 1.3s. partial
Evidence: 1 dated quote from the records
2025-09-15: Two-phase matching with a pending window: match provisionally on arrival, confirm when the counterpart lands, hold unmatched items in a pending window. → Two-phase approach hit p99 0.8s at 4k tx/s in staging. succeeded
Evidence: 2 dated quotes from the records
2025-09-18: Evaluated Postgres logical decoding for change feed of reconciliation events. → Postgres logical decoding dropped ordering under failover; switched the matcher to the outbox change feed. failed
Evidence: 2 dated quotes from the records
2025-10-02: Extended pending window from 90s to adaptive window. → Pending window of 90s lost matches when bank files arrived late; extended to adaptive window. partial
Evidence: 1 dated quote from the records
2025-10-30: Adaptive window approach continued. → Adaptive window held p99 0.8s at 6k tx/s with zero lost matches across 30 days of replayed traffic. succeeded
Evidence: 1 dated quote from the records
2025-08-04: Last-write-wins conflict resolution strategy. → Last-write-wins loses partial refunds recorded on a second device. failed
Evidence: 1 dated quote from the records
2025-09-29: Operation log replay for conflict resolution. → Conflicts now resolved deterministically in testing. succeeded
Evidence: 1 dated quote from the records
2025-11-11: Delta encoding to reduce sync payload size. → Delta encoding cut payloads by 70% but sync still fails on reconnect storms. partial
Evidence: 1 dated quote from the records
2026-01-15: Backoff with jitter to handle reconnect storms. → Backoff with jitter fixed reconnect storms in the pilot region. succeeded
Evidence: 1 dated quote from the records
5. Which of the work was R&D, and which was routine?
Claiming routine work is the commonest reason HMRC cuts a claim. Showing what you left out, and why, answers that challenge.
In short: 6 items set aside as routine, each with the reason.
The records show what was set aside as routine, and why (6)
- PAY-401: Measurement task to capture baseline timings
- PAY-466: Packaging, monitoring setup and rollout of completed solution
- PAY-600 Merchant dashboard redesign: no recorded uncertainty or experimentation (visual styling, pagination, data export).
- PAY-700 Xero and Stripe integrations: no recorded uncertainty or experimentation (known API integration).
- PAY-720 Login page typo: no recorded uncertainty or experimentation (minor fix).
- PAY-731 Timezone shown in UTC on invoices: no recorded uncertainty or experimentation (minor fix).
6. Can every figure and date in the claim be traced to a record made at the time, inside the claim period?
HMRC checks that numbers and dates come from records, and that the work claimed falls inside the accounting period.
In short: 26 quotes dated inside the claim period, 1 outside it, 4 undated; 0 items the checker refused. 1 thing to ask the engineer.
The records show statements with figures, each traced to its source (11)
Reconciliation ran as a nightly batch against Postgres, completing in 3h 40m with no intraday matching at all.
Evidence: 2 dated quotes from the records
Off-the-shelf matching engines ReconPro and LedgerMatch both reconcile in batches of at least 5 minutes and neither supports streaming matches.
Evidence: 2 dated quotes from the records
Matched payments must be visible to merchants within 500 ms of the second leg arriving, at peak volume of 4k transactions per second.
Evidence: 1 dated quote from the records
Whether reconciliation could stay under 1s once volume passed 4k tx/s on the current store, with no known way to achieve this. resolved
Evidence: 2 dated quotes from the records
2025-06-16: Sharded read model by merchant to parallelise matching. → First load test at 4k tx/s produced p99 match latency 2.7s, well over target. failed
Evidence: 2 dated quotes from the records
2025-07-21: CRDT-based merge for concurrent ledger updates so shards can match independently and merge later. → CRDT merge got p99 to 1.4s but double-counted refunds when a reversal arrived before the original. partial
Evidence: 2 dated quotes from the records
2025-08-05: Added causal ordering on reversals to the CRDT approach. → Refunds no longer double-count but p99 is still 1.3s. partial
Evidence: 1 dated quote from the records
2025-09-15: Two-phase matching with a pending window: match provisionally on arrival, confirm when the counterpart lands, hold unmatched items in a pending window. → Two-phase approach hit p99 0.8s at 4k tx/s in staging. succeeded
Evidence: 2 dated quotes from the records
2025-10-02: Extended pending window from 90s to adaptive window. → Pending window of 90s lost matches when bank files arrived late; extended to adaptive window. partial
Evidence: 1 dated quote from the records
2025-10-30: Adaptive window approach continued. → Adaptive window held p99 0.8s at 6k tx/s with zero lost matches across 30 days of replayed traffic. succeeded
Evidence: 1 dated quote from the records
2025-11-11: Delta encoding to reduce sync payload size. → Delta encoding cut payloads by 70% but sync still fails on reconnect storms. partial
Evidence: 1 dated quote from the records
Ask the engineer 1 question, where the records are silent or disagree
PAY-412 states the target is under 1s, while D1-p4 states the target is within 500 ms.
Ask: Was the latency target 1s or 500 ms, and did it apply to all transactions or only p99?