I have been interested in starting a company as an immigrant but don't understand what the law is for paying myself from the company or in what capacity I could legally work in the company. I have discovered that it's very commonplace for undocumented migrants to get legally paid as worker-owners in co-operatives. According to a document I found from Harvard Law (page 18):
federal immigration law does not expressly prohibit undocumented immigrants from working for a business that they own, such as a cooperative, so long as the worker-owner does not fall within immigration law’s definition of "employee.”
What considerations need to be taken when forming a company or when doing taxes in order to follow the law? Can immigrants who otherwise might not have work authorisation do this in general? Does this also work for people with temporary visas that don't have work authorisation?