shipping agent
A person who acts an agent ... representing the [ship] owner in all the formalities needed while entering port, during customs clearance up to the time of final sailing.
shipping agent is part of the Ship Classification editor test terminology.