This is a wrong perception. The querist has not mentioned anything about how Rs. 40 lacs got credited to the bank account. More information is required.
You have to file ITR and show TDS credit claim alongwith corresponding income. Tax payable on Total income as reduced by TDs Adv Tax will either be refund or SA Tax