cooked (someone's) books

changed the written details or records of what a business, organization, person, etc., has spent and earned, especially in order to take money unlawfully.