If you have certain customers who prepay for their work, due to restrictions on how SAM can interface transactional data with Xero, it is best to process prepayments directly within Xero.
For convenience, here is an article provided by Xero, explaining how to process prepayments:
Record a prepayment – Xero Central
Didn’t find what you were looking for?
Our Support team are here to help, you can reach us by submitting a support ticket