AP Advance Bill - Refund from Vendor

We have a situation where an AP Advance Billing invoice was entered and vendor was paid, but now the advance billed amount is going to be refunded and the purchase order cancelled. What is the best way to clear that advance bill amount?

Epicor Version: 10.1.400

Thank you