Need to "write off" a customer deposit for an order that never shipped.

Urgently need assistance, I have called Sage tech support and not really helpful.  If anyone can please provide step by step as nothing is working.  I have tried creating invoice and credit note.  to offset the deposit but not working.  Customer has made a prepayment on a sale that was not able to ship.  Due to our supplier shutdown and past history, both parties have agreed to just write off paid amounts and what we owe our supplier.  My main concern for the moment is to write off deposit from customer, record remaining amount as "loss".  No invoice has yet been generated as it order not shipped.  

Thanks

Melissa