The purpose code for inward remittance is P0001 (Repatriation of Indian investment abroad in equity capital/shares).