to change facts or figures dishonestly or illegally
His accountant had been cooking the books for years.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition