Can't delete payment/edit down payment invoice

Hello,
thanks for your reply.

My “delete” button is greyed out and the message is “can’t delete because at least one invoice is marked as payed”. Before update I just erased the payment and the invoice was enabled for editing.