No, nothing about your 2023 tax payments or tax due goes on your 2024 return. Each year is completely separate. You only enter payments you made for 2024 like estimated payments. An extension payment is if you make a payment by April 15 but want to file your return by Oct 15. That is only for the current year.