State tax filing

@ErnieS0  Is there a good way to learn how a particular state calculates tax in this bonus situation ("where work is performed from the prior tax year in another state")?

 

I have a similar issue where my 2023 received bonus was taxed by a state that was not my residential state (NJ) for a pandemic year in which I did not step foot in that state (worked totally remote from my residence state of NY, pre-pandemic would commute to NJ).

 

To complicate the situation I also switched roles for the same company in late 2022 and my tax reporting location switched back to NY from the NJ facility; in my prior experience monies are taxed based on where the material benefit is received (in this case NY vs NJ), but this bonus has me quite confused with its reference to NJ.

 

I feel knowing how this bonus tax from the nonresident state was calculated will help clarify what exactly is owed. Thank you for any assistance you can provide!