A government building where customs are collected and where ships are cleared to enter or leave the country