Balance the books

To check that all the money in a business is accounted for.

The accountant spent several days trying to balance the books of his company.