Make quick search return reference number, not name field


I would like to create a relate field that uses quick search with the drop down menu to select records from the invoices module and then auto populate other fields in the current module.

The only thing is, I want to be able to search by reference number of the invoice not by name of the invoice.
How would I do this?