You can record a bank deposit affecting the same expense account you used in the original transaction.
Here's how:
Hover over + Create and select Bank deposit.
Choose an account from the Account dropdown.
In the Add funds to this deposit section, enter the supplier who issued the refund in the Received from column, select the same Account used for the original expense and enter the amount of the refund.