Close the deposit record prior to posting the deposit to the General Ledger.