@shipengine/connect-carrier-api
Version:
This is the typescript/javascript definitions for carrier api
38 lines (36 loc) • 2.28 kB
text/typescript
import { CustomsContentTypes } from './customs-content-types';
import { CustomsNonDelivery } from './customs-non-delivery';
import { CustomsItem } from './customs-item';
import { Currency } from '../currency';
import { TermsOfTradeCode } from '../inconterms/terms-of-trade-code';
import { ImporterOfRecord } from '../importer-records/importer-of-record';
import { CustomsCharges } from './customs-charges';
/** @description Basic structure for a customs declaration */
export class Customs {
/** @description Indicates the type of contents associated with this shipment */
contents?: CustomsContentTypes;
/** @description Indicates what the seller would like done in case of an issue with delivery */
non_delivery?: CustomsNonDelivery;
/** @deprecated This object has been deprecated, please use packages.products[] instead */
customs_items!: CustomsItem[];
/** @description Indicates how much the buyer paid for shipping, if any. This amount may be different than the shipping cost billed to the shipper. */
buyer_shipping_amount_paid?: Currency;
/** @description The amount of duties paid by the shipper, if any. This is generally only necessary for DDP (bill_duties_to_sender) shipments. */
duties_paid?: Currency;
/** @description Declaration statement to be placed on the commercial invoice */
declaration?: string;
/** @description Incoterms specify who is responsible for paying for and managing the shipment*/
terms_of_trade_code?: TermsOfTradeCode;
/** @description The owner or purchaser of the products being imported into a destination country.*/
importer_of_record?: ImporterOfRecord;
/** @description The charges related with customs.*/
invoice_additional_details?: CustomsCharges;
/**@description: text explanation for the content */
contents_explanation?: String;
/**@description: An EDN is a number which is nine alphanumeric characters long and issued by the Australian Customs (Australian Border Force) in exchange for the information that an exporter shares with them. */
export_declaration_number?: String;
/**@description: The license number to be used in the customs. */
license_number?: String;
/**@description: The certificate number to be used in the customs. */
certificate_number?: String;
}