A bill of entry is a legal document filed by importers or customs clearance agents on or before the arrival of imported goods.