Retirement tax questions

Code P - Excess contributions plus earnings/excess deferrals taxable in 2023

 

Is this correct? My tax year is 2024 not 2023.  I thought it would be code 8 instead.

 

Code 8 - Excess contributions plus earnings/excess deferrals (and/or earnings) taxable in 2024

 

Which is correct?