Get your taxes done using TurboTax

The estimated tax payment he made on or before January 17, 2023 was for tax year 2022.  So that payment should have been entered on the 2022 tax return.