For anyone looking for an answer to this. The only solution I could find is to iterate through all the deposits, then iterate though all the deposit lines and check the DepositLine.TxnID against the txnID of the txn I need to check.
You can record the payment as a sales receipt since the sale happens on the same day. You can also utilize the Add and Match function so you won’t need to convert each deposit. In addition, I’d recommend contacting your bank so you can appropriately map your sales transaction base on the affected accounts.