Enter a vendor credit, deposit the refund check, and link the deposit to the bill. These are the right things to do to keep your expenses accurate. I'll guide you on how to record these transactions in your QuickBooks Online.
Step 1: Enter a vendor credit
Step 2: Deposit the money you got from the refund
Step 3: Use Pay Bills to connect the bank deposit to the vendor credit
When the bank downloads the vendor refund check in the Banking page, go ahead and match it with the deposit.
You can always check on us if you need more help. Have a great day!