Goods are held at the border until they're classified and declared and all duty and taxes is collected by customs. Then the goods are released for delivery. The importer of record pays all duty, tariffs, and taxes, but the actual brokerage is done through like.. fax machines and telnet servers.