Need to void customer invoice that has a deposit applied to it.

SUGGESTED

I need to void a customer invoice because of a sales tax error but I applied a customer deposit to it and it won't allow me to void it.  Any one have ideas on how to un-apply the customer deposit so I can void the invoice or how I can void out the invoice and still have the customer deposit so I can apply it to the new invoice I need to create?