Deductions & credits

So the taxes for 2023 paid late, and the 2024 taxes paid on time in 2024 will both be filed on next year's tax return?