You can use a sales receipt to record a cash income transaction in QuickBooks Online.
Here's how:
Click + Create and select Sales Receipt.
Choose your customer from the Customer dropdown menu.
Set the payment method to Cash and enter the transaction date.
Under the Deposit to field, choose your checking account for direct deposits, or select Undeposited Funds to group multiple cash payments together for a single bank deposit later.
In the grid below, select the items or services sold, enter the quantities, rates, amounts, and the tax.