Hi,
You will need to contact our Self Assessment team, to report your bankruptcy, in Scotland, bankruptcy is called sequestration. We will pass your details to our bankruptcy team, who will write to you. They can provide you with a new UTR number, to allow you to continue to be self employed during the period of bankruptcy and submit tax returns each year. You can see guidance here:
Becoming bankrupt
Dealing with HMRC
Thank you.