Unable to Void a Payment. Getting a 'Remove All References Error'

If you have interest enabled, you cannot void a payment against an invoice if you created another invoice after the payment. Invoices created after the paid invoice must be deleted in order to void the payment.