corporations incorporated in the country, corporations doing business in the country on income from that country, foreign corporations who have a permanent establishment in the country, or corporations deemed to be resident for tax purposes in the country.