Deductions & credits

Claim the deduction in the year paid. So if both were paid and deducted in 2024 that’s fine.