Deductions & credits

I just checked we were paid the interest in January 2022. So that would actually go on next years taxes?