HMRC is asking a technical question, not a commercial one, and software claims are where that distinction bites hardest. Building a well-made product on mature frameworks is not an advance in the field, however hard it was and however novel the business idea.
What does usually qualify: algorithms with no published solution; making a system perform at a scale where the standard architecture demonstrably fails; integrations that genuinely required experiment, failure and redesign; machine learning work where it was unknown at the outset whether the approach would function at all.
What usually does not: standard web and mobile applications, interface design, configuring off-the-shelf software, API integrations that worked as documented, data migration, and testing that was hard rather than uncertain.
Two things then decide the number. Cloud computing and data licence costs qualify, which matters a great deal to a company whose infrastructure bill is its second-largest line. And the PAYE and NIC cap — £20,000 plus 300% of your PAYE and NIC bill — bites hard on teams whose engineers invoice through their own companies rather than sitting on payroll. That is a decision about how you hire, made long before the claim, and it is worth modelling first.