Section 5(8)(ii) in The Foreign Exchange Management (Foreign Currency Accounts by a Person Resident in India) Regulations, 2015
(ii)A citizen of a foreign State resident in India being in employment with a company incorporated in India may open, hold and maintain a foreign currency account with a bank outside India and remit the whole salary received in India in Indian Rupees, to such account, for the services rendered to such an Indian company, subject to payment of taxes, as applicable in India.