To ensure that the Cashbook data balance and do not contain any invalid information, you can run an integrity check. Cashbook has two types of Integrity Checks:
Database - makes sure all keys are valid and compresses the database.
Data - makes sure that all batches, Cashbook and transactions balance.