HSTariffNumber Property
HS Tariff Number that applies to the entire contents of the package being shipped.
Syntax
uspsshipintl.getHSTariffNumber([callback]) uspsshipintl.setHSTariffNumber( HSTariffNumber, [callback])
Default Value
""
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 getHSTariffNumber([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 setHSTariffNumber([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
Value is optional. It's applicable for commercial items only and can be provided (if known) when you generate the CN22 Customs Form (by calling the GetFormCN22 method).
The Harmonized System (HS) numerically describes all articles moving in international trade. This is done through the HS Tariff Number (6-digit), which must be based on the Harmonized Commodity Description and Coding System developed by the World Customs Organization for use by commercial shippers.
Data Type
String