director sellings his shares back to company

Company A is intending on buying all of one of the directors shares{in Co A}- say 1 ord share at £1

What is the bookkeeping entry  assuming the director only has one share. I assume it is Dr Share Capital but where does the credit go?

What are the tax implications assuming the company buys the shares at [for arguments sake] £100?

Thanks in advance