Hi,
Yes, you should enter the relevant information in the capital gains pages, SA108, of your tax return, which includes boxes in which you confirm, capital gains already reported and, capital gains tax already charged and, or paid. You can see guidance here:
Capital Gains Tax summary notes
Thank you.