Engineering Firm stock sales
I was a partner at an engineering firm and decided to leave that company. When I left I sold all of my shares back to the company. We created a Buy/Sell agreement where they agreed to purchase my shares for the set year value and pay off any outstanding debt I had on shares. So they payments was the value of the shares minus the debt. The money is being given to me over 4 years with the first payment happening in 2019 when I left. How do I report this since it was capital gains? Do I report as a stock sale as if the full payment happened or do I report it as installment payments?