Write yourself an employment contract and ensure you put in, and highlight, a specific sections that says your work place is online and you have permission from the business to work remotely from any country, on the provision you obey the laws of your current country