Often a client will issue a check in one financial period and then void it in another. If the check is voided before the bank reconciliation is done, the check has a balance of 0 on the bank rec.
The proper way to handle this is to include the amount as outstanding in the month is was issued and voided/cleared in the month it was voided.
For instance, if a check is issued 8/15/2022 for $5,000 and voided on 9/10/2022. The August, 2022 reconciliation needs to show the $5,000 as an outstanding item.