There are 4 ways HMRC could owe your business money.
1. VAT from before you registered
2. VAT on invoices that were never paid
3. R&D that didn't work
4. Losses from a new side business
The point of all 4 is making sure HMRC hasn't kept more than it's entitled to.