I'm here to help share information about changing transaction type in QuickBooks Online.
Sales receipts and Bank deposits are two different transactions which has its own purpose.
If you'd like to change a deposit transaction to a Sales receipt, then you may need to delete the deposit and recreate it using the Sales receipt form.
To give you more information, I'm attaching some great resources that you can visit: