The happy path between local vs foreign often looks the same. That's not the problem for anybody.
The edge cases are common and often legally ambiguous. When things go wrong, it can be extremely hard for a company to resolve the situation when it crosses boarders. Heck, even just operating in a different state can open a company up to legal issues.
Once you start opening up to different legal jurisdictions, you basically have to run company policy in a way that accounts for the worst situations across all jurisdictions.
Some things that I'm aware of:
* Import/Export law for software. It may seem mundane, but having any encryption can cause significant scrutiny.
* Import/Export law for hardware (like getting a company laptop to an employee)
* Ability to track/down or recover lost/stolen hardware
* Variations in labor laws.
* Variations in copyright/IP protection laws.
* Variations in digital hacking/data integrity laws.
* Government level data monitoring/tracking
* Local data protection laws that you might not be subject to without a local employee.
* Scrutiny from your customers about foreign workers.
* Accidental sanctions violations.
* Potential for customer data to leave legal boundaries via a foreign employee.
* etc