How to make accounting entry when company return advance payment to customer before invoice creation?

We are a manufacturing company

We made advance payment entry against sales order given by customer.before starting manufacturing project cancelled and we need to give advance payment back to customer.

In accounts receivables report advance payment is shown as negative amount for that customer.How can we make entry when we return that amount to customer

any update on this please let me know