The Import Export Code (IEC) is a 10-digit number granted by the Directorate General of Foreign Trade to individuals and companies to facilitate import and export activities. IEC applications can be submitted online and require documents like PAN details, bank account information, and address proof. Once approved, the IEC has permanent validity unless cancelled and allows the holder to import and export goods.