I am not entirely sure, but it seems to me that the Moroccan government has already (tried to) change the situation with several changes to the law/memo's.
My French is not the best, but the way I read it is that the tax exemption is ONLY applicable on the activity in the Southern Regions.
You will not be tax exempt from activities outside the region. Please correct me if I am wrong.
In practice, most of these companies just don't file any taxes. However, you would be mistaking if you think that the Moroccan government does not know this. They know, they are not THAT︀ stupid.
I've been going to this country for nearly two decades now. If there is︁ one thing you should be aware of is that, without some greasing of the gears︂ over there, you will find yourself in a lot of trouble with authorities if they︃ find out they can extort money from you.
So, in practice, I think there are︄ a lot of companies with HQs in Dakhla that effectively pay 0% tax. I think,︅ in practice, 99% of these companies are not REALLY tax exempt, and thus are illegally︆ avoiding tax. They just don't report anything. For a foreigner to do the same, you︇ need friends. If you don't have friends, you need to make them. It will cost︈ some money to bribe the correct people. You need some local help with this, because︉ they will f*ck you left and right if you don't know what you are doing.︊
Just my two cents.
Correct me if you think I am wrong. I actually hope︋ I am wrong, because I think I can have this organized fairly quickly. Could have︌ it up and running at the end of the month I would think (with local︍ bank account, so problem would still be getting funds out of the country).