The first stage of import clearance process is to complete an Import Declaration and submit it to the e-Customs system. Prior to the arrival of cargo or upon the arrival of cargo, a shipping agent electronically transmits a ship or aircraft arrival report, and manifest information to the e-Customs system. If there is no error, the ship or aircraft arrival report number is automatically generated by the e-Customs system and the response message is transmitted to the shipping agent. When the cargo arrives at the port or place of entry, an importer or a Customs broker submits an Import Declaration to the e-Customs system.