Hi
You have taken the correct course of action by writing to HMRC, explaining the mistake you made when completing your 2019-20 tax return.
Please note however, that if you miss the deadline for amending a tax return, your letter should specify that you wish to make an Overpayment Relief claim.
Please refer to the following guidance:
Self Assessment tax returns
Thank you