Issue refunds to your customers from your Square account at https://squareup.com
Here's their article on how to do that.
To reflect the refund on the Detail Bookie invoice, you would add a new credit line item to the invoice called REFUND for the amount of the deposit.