Moving customer invoice issue

SUGGESTED

Hi,

I've recently moved a customer's outstanding invoice from one customer account to another - the issue is that in the original customer account the invoice has been marked as cancelled and is no longer showing as outstanding (as expected) but an additional entry has been added creating a credit in that account for the amount of the invoice, with nothing to allocate it to.  How do I fix this?