How to clear out an invoice when the delete button is grayed out?

SOLVED

I have an invoice which had initially been paid. The payment was deleted but the invoice still says paid in full, yet has no related transactions and cannot be deleted, as the button is grayed out. How can I clear out this invoice?