Hi there, @SharonDFC.
There are recommended steps to record a refund in QuickBooks. After depositing the refund amount, let’s record a bill credit and link the deposit.
By doing so, the invoice and the vendor's credit will write off.
First, record a Bill Credit for the refunded amount:
Then, let’s link the deposit to the Bill Credit:
More ways to record vendor credits are found in this reference: Record a vendor refund in QuickBooks Desktop
Drop me a reply below if you need further assistance in QuickBooks Desktop.