The V5 has to remain in the customers name. He will receive a new log book bearing a new (probably the original) number plate. At this point you put it into trade.
Take a £200 deposit otherwise your customer WILL drag their heels in returning the new log book.