Yes, you can work for a foreign company remotely. For working remotely in a foreign company, you didn't need a visa. You can work overseas for any company just by sitting at your home. All you need to check is that the company should provide remote work. As not all the companies provide remote work.
US company hiring a foreign independent contractor living abroad. The US company doesn't need to report the payments they made to the foreign independent contractor to the IRS if they are not US-sourced income. The company also doesn't need to withhold any tax.
As an employer, you may require the services of a noncitizen to work at your company or business. If the individual is already a permanent resident (Green Card holder), you may hire that individual, but you must comply with the employment verification requirements.
Foreign independent contractors must submit IRS Form W-8BEN or W-8BEN-E to certify their foreign status and claim any applicable tax treaty benefits. The US company may also need to file Form 1099-NEC if certain conditions are met, though this is more common for domestic contractors.
Foreign remote contract workers don't require visas because they are based outside of the US. While these workers may have to come into the country occasionally to fulfill their contractual obligations, they shouldn't have any issues entering as long as they can provide proof that their stay will be temporary.
All immigrants regardless of legal status are able to earn a living as independent contractors, or start a business using an ITIN or SSN.
As an employer, you may require the services of a noncitizen to work at your company or business. If the individual is already a permanent resident (Green Card holder), you may hire that individual, but you must comply with the employment verification requirements.
Companies must ensure that foreign independent contractors comply with immigration laws by obtaining the necessary work permits and visas. It is important to research and understand the regulations specific to the contractor's home country and the country where the work will be performed.
While the US federal government is more restrictive in regards to hiring people who are not American citizens or US nationals, Green Card holders can work in state and local governments for a range of positions.
Applicants must be a U.S. citizen, a U.S. non-citizen national, or a qualified alien.