Deductions & credits

Thanks for your reply.  We had a family HDHP from June 2023-May 2024 before obtaining health insurance through my employer.  I contributed $5687 in 2023 and $3875 in 2024 for first 5 months (we are both over 55.)  Now TT is stating that $583 of income must be included in our return this year because of the last-month rule.  Is this correct?