Dear
Zeos11 is 100% correct,, i had an experiences,
you have to do from any pasport office pay 200Qr before departure,so you can re-enter to Qatar up to the validity of visa

Best Luck