how to record a cheque so it can be added to a deposit slip

got a supplier cheque, to return a rental deposit, and I want to add it to the deposit slip

do I create a customer equivalent to the supplier, create an invoice, and pay by cheque - is this the only way ?