Ability to refund a patient in a way it can integrate with xero


I follow the 2 step process for refunds and manage in Cliniko but this does not integrate with xero - is there a solution that will eliminate manually changing the xero entries ?
We charge a deposit on loans and refund when the equipment is returned.
Thank you