Sales Order Deposit

If a customer deposit was posted to the incorrect sales order, is there a way to back it out and apply to the correct sales order?