Customer payments

Customer payments

Hi,
Can you please explain how to journal a payment from one customer account to another.  I have allocated a payment and matched it up on my January bank reconciliation and closed off the period.  So the payment went to Customer A's account and cleared invoice 1.  But the payment should have went to Customer B's account and cleared invoice 2.  Both invoices were for the exact same amount.