mzaouar wroteI'm a software engineer.
Interesting point regarding permits.. In any other country, you'd definitely need to pay taxes on all income you make.
In Lebanon, the freelancing work is hard to be tracked for the ministry of finance (but it can be doable) since there are no official registered records or contracts between you and the client.
Tho I know a friend they charge him additional taxes with penalties by tracking his Instagram posts they knew he works as an interior design. so he was forced to register all contracts in the ministry of finance. (he posted so many of his work with all the detailed information)
As for the permits, it's easy to track since all permits go through the "orders of engineers" this can't be avoided.
Note: working as a freelance for outside the country is tax-free.