I am Indian citizen , Was in canada in work permit from 01 Jan 2023 to 12 AUG 2023 and left canada to USA in L1 visa worked remains of the year. Tax returns

I am Indian citizen with my spouse and kids stayed in canada from 01-Jan-2023 until 12 aug 2023. I was in work permit and had employment income from Canada employer.

 

then moved to US with family in L1 visa and worked in USA from 12-aug-2023 to 31 - dec -2023 and have an employment in come from US employer.

 

Please suggest on my tax return and resident details on below questions?

 

1. do i have to file Canada tax return as resident of canada with canada, USA employment incomes and pay taxes for US income also in canada?

2. DO i need to file US tax return as non-resident only for the US income and claim tax rebate if i paid tax for US income in canada on first question

3. which country should i file first and what are the tax rebate and credits available