Shipping Integrator V5 - Online Help
Shipping Integrator V5
Questions / Feedback?

DutyType Property

Auto duty type applicable for requests outside the US.

Syntax

 upsrates.getDutyType([callback])

Default Value

"Dutiable"


Callback

The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).

The callback for the getDutyType([callback]) method is defined as:

function(err, data){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'data' is the value returned by the method.

The callback for the setDutyType([callback]) method is defined as:

function(err){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'err' has 2 properties which hold detailed information:

err.code
err.message

Remarks

The duty is automatically calculated in such requests if the Documents is set to False. This is returned in the server response only for requests outside the US.

The possible values to be returned:

Dutiable
Non-Dutiable
Low-value
Courier Remission
Gift
Military
Exception
Line Release
Section 321 Low Value

All US domestic letters and documents are Non-Dutiable.

For non-documents the following logic applies:

  • a. When export and import countries are the same, duty type is Non-Dutiable;
  • b. All European transborder shipments (country pair must be found on DGTM TBL #462) are Non-Dutiable;
  • c. If not found in step b, the duty type is assigned from the first value larger or equal to the converted customs declared value (order by declared value ascending) for that import country;
  • If not found, default the duty type to Dutiable;

Note: When processing auto duty logic and for any reason the program experiences problems getting the duty type, the duty type will be defaulted to Dutiable. If the CurrencyCode is the same as the import currency code, there will be no currency conversion and the entered value will be used in the determination of the auto duty logic.

This property is read-only.

Data Type

String

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 5.0.6240.0