Section 5(8)(i) in The Foreign Exchange Management (Foreign Currency Accounts by a Person Resident in India) Regulations, 2015
(i)A citizen of a foreign State, resident in India, being an employee of a foreign company or a citizen of India, employed by a foreign company outside India and in either case on deputation to the office/ branch/ subsidiary/ joint venture/ group company in India of such foreign company may open, hold and maintain a foreign currency account with a bank outside India and receive the whole salary payable to him for the services rendered to the office/ branch/ subsidiary/ joint venture/ group company in India of such foreign company, by credit to such account, subject to payment of taxes, as applicable in India.