The cyber attack that affected Capita in 2023 accounted for around £25m of the companies reported £107 million losses.