Selling all the stock in private company but payments for it over three years. The 1st payment is half and the remaining half will be paid over the next 3 years. How?

The private company is an S corp and I own 40%.  We sold all the stock in the company which we bought years ago (stock) but the new buyer is only paying about half at close and will pay in two additional payments in the next 3 years.  How do you do that in Turbo Tax since I have a basis (my 40% of the purchase price of all stock in the company) but I am not realizing the purchase payment at closure but over time.  I have a note for the remaining amount.  How do you do that in Turbo Tax?  Overall there is no gain between purchase price by me and sell price by me.