Iqama or contract

my iqama will gonna expire by august 1 and my contract is at august 30, they gave me 2 months notice period and I will send them a request, where should I depend? on my iqama o in my contract? thanks