Duplicate invoice created and recorded payment

Duplicate invoice created and recorded payment

Hi All,

I have created a duplicate invoice by mistake and recorded payment twice for same customer on the same day.

Now I need to void/ delete one of the invoice, but it wont let me as I have recorded payment.

Can someone guide me, 

Thanks in advance