HSA and Excess Contribution

I made an HSA contribution on 1/5/2023 on my own from my checking account (not with any employer).  I was told I had contributed more than the allowable amount and so then received back into my checking account the overpayment amount on 2/6/2023.  I received a 1099-SA for the overpayment and recorded this in the HSA section of TurboTax.  I am unclear if I have captured these numbers correctly.  For example, if the amount I originally contributed was $2000 and the overpayment I received back was $500, what amount should be reflected on line 13 and line 26 on Schedule 1 (which then populates form1040 line 10) and on form 8889 line 2 and line 14a.  Thank you.