Listing a transaction as a deposit instead of a credit card sale

Listing a transaction as a deposit instead of a credit card sale

I have mistakenly recorded some sales as deposits. These were bank deposit transactions from credit card sales from retail customers. Its my understanding that deposits are for non-sales events. Does that mean I need to create invoicing for every individual credit card transaction I might have done?