How to record Sales Paid by Credit Card

How to record Sales Paid by Credit Card

We just start up a restaurant business. Most of our transactions are paid by cash and credit card. We recorded cash sales by using sales without invoices. Is it the same for sales paid by credit cards?