...
In case the goods have been already sold to the customer and further return was done, the below steps should be followed:
1. Create Bank Receipt document to record an advance payment:
...
In a report Statement of Mutual Settlement, you can see it as Advance Received:
2. Create an Invoice to sell Goods to the Customer and add prepayment in the offset box:
Invoice and Offset create corresponding records:
...
The amount of this Credit Note appears as Accounts Received that should be refunded to Customer:
4. Create Bank Paymentto the Customer on the basis of this Credit Note:
...