/api/shipment/get-charges

Edited
->request(
  'GET',
  'https://eshipping.hillebrandgori.app/api/get-hscode',
  ['headers' => [
        'X-AUTH-TOKEN' => 'ESHIPPING_TOKEN',
      ],
        'query' => [
            details[
                'capacity' => '750',
                'alcoholDegree' => '12.5',
                'hsCode' => '2204.21.48',
                'unitValue' => '18.5',
                'quantity' => '6',

            ]
            'expCountryAlpha2' => 'FR',
			'destCountryAlpha2' => 'BE',
            'shippingPrice' => 108.72,
            'clientType' => 'individual'	
      ]
  ]
);

Retrieve the breakdown of fiscal representation costs.

  • details [

    • details[][capacity]

    • details[][alcoholDegree]

    • details[][hsCode]

    • details[][unitValue]

    • details[][quantity]

]

  • expCountryAlpha2 and destCountryAlpha2: country ISO-2 code. Can be retrieved from /api/address/get-countries

  • shippingPrice : can be retrieved from /api/shipment/get-rates