Utilize your financial knowledge, give your answer or opinion to the input question or subject . Answer format is not limited.

In what cases can states tax non-residents?
From the Massachusetts Department of Revenue:   1st - Massachusetts Source Income That is Excluded   Massachusetts gross income excludes certain items of income derived from sources within Massachusetts: non-business related interest, dividends and gains from the sale or exchange of intangibles, and qualified pension income. 2nd - Massachusetts Source Income That is Included:   Massachusetts gross income includes items of income derived from sources within Massachusetts. This includes income: 3rd - Trade or business, Including Employment Carried on in Massachusetts:   A nonresident has a trade or business, including any employment carried on in Massachusetts if: A nonresident generally is not engaged in a trade or business, including any employment carried on in Massachusetts if the nonresident's presence for business in Massachusetts is casual, isolated and inconsequential. A nonresident's presence for business in Massachusetts will ordinarily be considered casual, isolated and inconsequential if it meets the requirements of the Ancillary Activity Test (AAT) and Examples. When nonresidents earn or derive income from sources both within Massachusetts and elsewhere, and no exact determination can be made of the amount of Massachusetts source income, an apportionment of income must be made to determine that amount considered Massachusetts gross income. 4th - Apportionment of Income:   Apportionment Methods:   The three most common apportionment methods used to determine Massachusetts source income are as follows:   Gross income is multiplied by a:   So if you go to Massachusetts to work, you have to pay the tax.  If you collect a share of the profit or revenue from Massachusetts, you have to pay tax on that.  If you work from Oregon and are paid for that work, then you don't pay Massachusetts tax on that.  If anything, your company might have to pay Oregon taxes on revenue you generate (you are their agent or employee in Oregon).   Does the answer change depending on whether the income is reported at 1099 or W-2? This shouldn't matter legally.  It's possible that it would be easier to see that the work was done in Oregon in one or the other.  I.e. it doesn't make any legal difference but may make a practical difference.   All this assumes that you are purely an employee or contractor and not an owner.  If you are an owner, you have to pay taxes on any income from your Massachusetts business.  Note that this applies to things like copyrights and real estate as well as the business.   This also assumes that you are doing your work in Oregon.  If you live in Oregon and travel to Massachusetts to work, you pay taxes on your Massachusetts income in Massachusetts.