If any person who is resident in Pakistan in any year proves to the satisfaction of the Deputy Commissioner that, in respect of any income which has accrued or arisen to him during that year outside Pakistan, he has paid income tax, by deduction or otherwise, in any country (including a country with which there is an agreement under section 163 ...