Yes, it is mandatory. The fee is QR500/year. You better go to Labor Dept and get a copy of the list of the requirements. I advise you to start to process your documents early because it took me a very long time to finish everything. They change policy every now and then which makes it more difficult for the applicants.