Full story, I use multicurrency, I didn't notice but the bank account had the wrong currency, then when the invoice was paid it was mismaching the amounts, but I linked them, then I realized my mistake and inactivated the bank account, then deleted it. Now the invoice is linked to a bank account that no longer exists and I am trying to undo the mess, I have created the bank account with the right details, but I need to link the invoice to the transaction, but the invoice is already linked to a transaction in a deleted bank account. Any ideas on how to fix this?