Kevin Federline is to write a tell-all book about Britney Spears and has teamed up with her father Jamie to work on it.