When the situation arises that you need to change the customer on an already generated Invoice, just do the following and you will be fine.
Go to Sell > View Transaction > find that specific transaction you want to change.
Then click on Change Person below the customer field and find your intended Customer for that invoice.