Retirement tax questions

Spoke to a CPA. They said if you remove excessive Roth IRA  made in 2023 in 2024  before filing your 2023 Income tax and you are over 59 1/2. You should use code 8  !!!

On 1099-r.