Cheryl's way is one way to do it. I would recommend a different way.
Use the Return transaction type in Payables Transaction Entry. This is probably one of my favorite features in Payables.
This will let you show the money coming back in to accurately update your vendor records (amount billed, amount paid, returns, etc), post to the correct PURCH general ledger account AND post to your checkbook/cash account.
Put the $2,000 in the Returns field and put the same $2,000 in either the Cash or Check fields to the right. You'll get prompted to enter a check or payment number, select the bank account and enter the date you want to show the money received.
When you post the transaction, it will also show as a pending deposit in Bank Deposits.
It's a cleaner trail of receiving money back from vendors.
I hope this helps.
Thanks.
Joe