It relates to the field of e-commerce platform technology, and discloses a cross-border commodity automatic customs clearance system and its control method, including multiple terminals, a network, a cloud management platform, and a cloud server, wherein the cloud server and multiple terminals are connected through Network connection, the cloud server is used to realize the storage, calculation and transmission of data, including an e-commerce platform order creation module, a payment slip generation module, a payment serial number acquisition module, a delivery request module, a supervisory warehouse return data module, and a customs declaration module , customs clearance module and order judgment module; the control method of the automatic customs clearance system for direct mail commodities, including creating platform orders, generating payment slips, sending third-party payment platforms, e-commerce platform orders, payment slips, and logistics enterprise customs declaration forms Compare, customs clearance. Therefore, the user's client terminal is connected to the server through the network, and the real-time direct mail product automatic customs clearance can be performed directly through the client terminal, thereby improving work efficiency, improving data accuracy, and reducing data error rate.