Cook the books is a slang term for accounting fraud, which is the act of manipulating a company’s financial results to inflate revenue and/or deflate expenses.