You are government employee thats why they did not charge you 500 QR, they charge 100 QR for only your ID card,your visa is free from goverment, and als you will get charge free visa for your 2 kids,only they will charge 100 QR for ID card.