Not applicable

How do I match a vendor credit with the amount deposited back to the bank account?

I received an expense from a vendor that is ACH directly from my bank account twice a month.  I entered the expense and matched it when it hit the bank.  The same vendor issued credit for the bill, depositing the funds back.  I entered a vendor credit because I want record of the credit memo and expense (in and out), but how do I match the bank entry with the vendor credit which still shows a balance amount?