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

SEDInBondCode Property

Indicates whether the shipment is being transported under bond.

Syntax

 upsshipintl.getSEDInBondCode([callback])
 upsshipintl.setSEDInBondCode( SEDInBondCode, [callback])

Possible Values

  0 (ibcNotInBond), 
  1 (ibcWarehouseWithdrawalForIE), 
  2 (ibcWarehouseWithdrawalForTandE), 
  3 (ibcTransportationAndExportation), 
  4 (ibcImmediateExportation), 
  5 (ibcImmediateExportationFromFTZ), 
  6 (ibcTransportationAndExportationFromFTZ)

Default Value

0


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 getSEDInBondCode([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 setSEDInBondCode([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

Indicates whether the shipment is being transported under bond.

This is required when SED form is requested (i.e., when the Shipper's Export Declaration flag of the FormTypes is set).

Valid values are:

Value Meaning
ibcNotInBond (0) Not in bond
ibcWarehouseWithdrawalForIE (1) Warehouse Withdrawal for Immediate Exportation
ibcWarehouseWithdrawalForTandE (2) Warehouse withdrawal for Transportation and Exportation
ibcTransportationAndExportation (3) Transportation and Exportation
ibcImmediateExportation (4) Immediate Exportation
ibcImmediateExportationFromFTZ (5) Immediate Exportation from a Foreign Trade Zone
ibcTransportationAndExportationFromFTZ (6) Transportation and Exportation from a Foreign Trade Zone

When SEDInBondCode is set to a value other than ibcNotInBond, the SEDEntryNumber is required to be provided in the request.

Data Type

Integer

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