An Enhancement Request has been submitted for the ability to change the customer on an invoice. This ability may be resolved in a future release of the software.
As a workaround, you can void and reenter the invoice. See article 18498 DocLink: How do I void an invoice in Accounts Receivable? for more information.
DocLink: