rental income reporting question
Hi,
I am a new immigrant and just came to USA in November 2022. I got my greencard and social security card in November 2022 as well. I only had rental income whole year in 2022. I am not sure if I need to report the whole rental income on 2022 Form 1040 or just report November - December rental income on 2022 Form 1040 because I am not US resident from January - October 2022.
I read something on IRS website about green card test and presence test, but I am not sure about it very well.
Can someone please advise me how to do? Thank you!