credit card account item returned and refunded

credit card account item returned and refunded

I bought an item for $15 on our credit card on a Monday, entered in Z Books as an expense in the credit card account. Then returned the item Wednesday. The vendor created a refund on the same card, so my statement shows a $15 transaction and and farther down a $15 credit.

Since I cannot create a negative expense in Z Books how do I track this? My statement looks like this:
Monday  Vendor 1              -15.00
Wednesday  Vendor 1        15.00

The credit card statements and feeds show the transactions,  a purchase and a separate refund. My books must show the same. 

To complicate matters more, vendor credits cannot be used on expenses, only bills.