State tax filing

The location of the company in MA does not matter. The income is not MA-source to non-residents if you were not physically present in MA while working.