QuickBooks Online (QBO) has a feature to handle credits properly. I'm here to lay out the steps for you.
If you're the one who received a store credit from the retailers, you can record supplier credits for it. Here's how:
Click + New and select Supplier credit.
In the Supplier dropdown, choose your supplier.
Enter the Category details or Item details depending on how you record purchases with this supplier. Usually, this is the category, product, or service you’re getting credit for.