How to print Receipt for Payment received from Creditor?

Hi,

How to print Receipt for Payment Received from Creditor?

I have put in Special Account code OR but it doesn't print out the receipt.

Let say company A is the debtor, and company B is the creditor.

Both companies have transactions buying and selling to a point that the debtor sells more to creditor, hence the creditor ends up owing to the debtor instead.

I didn't create a separate debtor account for company B because it has been agreed between companies to contra the payment initially. thus now, the Creditor is paying it's owing. 

Any help is greatly appreciated! 

Thanks!