The situation has changed in recent years as Andorra started to tax foreign investment and other sectors .