Glad to have you here, santosalvin242.
If you're referring to recording a payment, you can create an invoice to record the
sale. Then, receive the payment to record it against that
invoice.
Here's how:
If it is an immediate payment transaction, you can create a sales receipt. You can check out the Should I use an Invoice or a Sales Receipt? article. Then, follow the steps in To create a Sales Receipt section
If the paid transaction is a credit card payments, you can check out this article on how to record them: https://community.intuit.com/articles/1777536.
I have a link here that contains articles about managing money in and money out transaction in QBO: https://community.intuit.com/browse/quickbooks-online-intl-moneyin-moneyout.