Show a check in customers statement, when it gets clear in bank but not when deposited

Business Case

Assume that customer pay us by check you don’t want to update the customer statement until that check gets cleared in the bank. Let’s update the customer statement when check gets clear in bank.