Go to the Actions tab in Accounts Payable and click on Select Supplier Invoices to be Paid. Click on Reset All to remove respective invoices from the payment list. You will now be able to edit an invoice.