I am not able to recommend any books as all of my payroll learning was done in employment I would recommend that you try to enroll on some HMRC workshops (they are free) and I still find them very good. They won't go into all of the detail that you need but will give you a basic understanding and probably could be a good starting point.