Hi there SAAPAdmin,
Just create a credit note for the prepayment amount. You can then create an invoice to reflect what the customer has made the prepayment for. Here's a link that you can check on how to record prepayment received.
Best regards,
Doreen