Duty & Tax Calculation
The Total Cost Calculator (TCC) is Glopal’s web service engine for calculating total landing costs for international deliveries, taking into account various landed cost components, including
Buyer-facing shipping fees
Customs duties: General, reciprocal, and preferential duties
Taxes: VAT or sales taxes, and excise tax
Ancillary fees: Optional customised surcharge to cover administrative fees
The engine supports both forward and reverse calculation, allowing to determine landed cost components either on the net or gross order value.

Pre-Integrated Platforms
The Total Cost Calculator (TCC) is pre-integrated into Glopal’s Checkout solution, and available for the most relevant e-commerce platforms:
Shopify: Partner app for Shopify and Shopify Plus.
Magento 2: Plugin
Salesforce Cloud Commerce: B2C Commerce Cartridge listed on the Salesforce AppExchange, supporting SFRA, OpenCommerce API (OCAPI), and Site Genesis
Native API Integration
The engine is also available as native API service:
Client username (set by Glopal)
usernamePattern: ^[a-z0-9\-]{3,255}$Optional system username to enable separation of authentication credentials by integrated client system. (set by Glopal)
alias-usernamePattern: ^[a-z0-9\-]{3,50}$The authentication signature is created by using the concatenation of the login, the ‘@’ sign and the timestamp, transformed into a HMAC_256 signature using your secret access key.
40b976b35a08bb951439ea7bbfa0a7bd73dab7c813399a31d9d1a157bc08929bPattern: ^[0-9a-f]{64}$The authentication timestamp must be a decimal numeric representing the current POSIX time, extended to microsecond accuracy. If the requesting system does not provide high-resolution time, it is advised to use a 6-digit random number. It is important to have the requesting system synchronised with a reliable time source (f.i. a stratum 2 NTP server) to avoid request rejection.
1680010295.775523Pattern: ^[12]\d{9}\.\d{6}$0.68Pattern: (^0\.\d{2}$|^[1-9]\d*\.\d{2}$)OK
Bad Request
Unauthorized
Forbidden
Not found
Method not allowed
Internal server error
Service unavailable
Last updated
