When does port authority of importers country allow the importer to release the goods from post?

When bill of entry is presented to the port authority.