In Receivables, do it as a zero dollar cash receipt, same basic concept as in Payables.
When you select the transactions, select the credit one first, it will make everything easier. Then select the debit one and you know you are done when the unapplied amount goes back to zero.
Steve