Yes, online IEC code registration is necessary to have for all type of export oriented entities in India.