Connect with and learn from others in the QuickBooks Community.
You can create a vendor refund to record the refund you've received from a vendor.
Just make sure to associate the refund to the same expense account you've used in recording the expense. You can read through this article for step-by-step instructions: Enter a refund from a vendor.
On the other hand, you can refer to this article to track credits you've received for future purchases: Manage Vendor Credits.
Thanks for giving me the opportunity to help. Wishing you the best with your business endeavors. Have a great day ahead.