You can create new asset account called
Undeposited funds under your
Chart of accounts.
When you withdraw funds from cash till for the purpose of making bank deposit, categorize this spend money from cash till transaction under
Undeposited funds account.
When you see deposit on your bank statement, categorize this deposit under
Undeposited funds account which should bring balance of this account back to zero.
If there are no deposits in transit and this account balance is not zero, it means some money hasn’t been deposited. You need to then look at list of individual transactions in this account to see on which date discrepancy occurred.