Hello there, musicanovaaz.
In the sales receipt, you use the products/services to record income. When you set up a product/service, you’ll need to select the account where they will be posted.
For your question, you can add a sub-account per product/service and use these items when you create a sales receipt.
Here's how to assign an account to a product/service:
I've got this article for reference: How to create and use a products and services list.
If you have any additional questions about customer transactions in QuickBooks Online, please let us know. Thanks.