I know a way how you can record sales without recording Accounts Receivables in QuickBooks Online, mansi-charla.
You can record your sales using Sales Receipts in QuickBooks Online. Since the payment portion is part of the transaction, this will not record to your Accounts Receivable.
Here's how:
Click + New in the left panel and choose Sales receipt.