Internal changes - how to correct customer in invoiced sales order? - need help ASAP

I have an invoiced sales order which is against a different customer than intended. We have the two different customer accounts with same invoice account. The invoice has already gone to the customer, so we are good externally but now we have to correct internal accounting. Any suggestions? Is there a way to internally credit one customer account and debit the other account?

Yes from general journal select one in account and another in offset account. System allows this but I am not sure how correct it is operation wise some countries where there is not tax, no audit this all works but at some other places it does not.

I wud have reversed the complete cycle and re-posted the original entry.

Reversing the transaction could be the ideal solution…but you need to see the statutory obligations for that…

if you want only to transfer amounts - you can pass a journal voucher…