@myorb/dhl-express
Version:
DHL Express api client
53 lines (52 loc) • 2.62 kB
TypeScript
/**
* DHL Express APIs (MyDHL API)
* Welcome to the official DHL Express APIs (MyDHL API) below are the published API Documentation to fulfill your shipping needs with DHL Express. Please follow the process described [here](https://developer.dhl.com/api-reference/dhl-express-mydhl-api#get-started-section/user-guide--get-access) to request access to the DHL Express - MyDHL API services In case you already have DHL Express - MyDHL API Service credentials please ensure to use the endpoints/environments listed [here](https://developer.dhl.com/api-reference/dhl-express-mydhl-api#get-started-section/user-guide--environments)
*
* OpenAPI spec version: 2.4.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { SupermodelIoLogisticsExpressExportDeclarationInvoiceCustomerReferences } from './supermodel-io-logistics-express-export-declaration-invoice-customer-references';
/**
* Please provide invoice related information
* @export
* @interface SupermodelIoLogisticsExpressExportDeclarationInvoice
*/
export interface SupermodelIoLogisticsExpressExportDeclarationInvoice {
/**
* Please enter commercial invoice number
* @type {string}
* @memberof SupermodelIoLogisticsExpressExportDeclarationInvoice
*/
number: string;
/**
* Please enter commercial invoice date
* @type {string}
* @memberof SupermodelIoLogisticsExpressExportDeclarationInvoice
*/
date: string;
/**
* Please provide the purpose was the document details captured and are planned to be used. Note: export and import is only applicable for approve Sale In Transit customers
* @type {string}
* @memberof SupermodelIoLogisticsExpressExportDeclarationInvoice
*/
_function: SupermodelIoLogisticsExpressExportDeclarationInvoiceFunctionEnum;
/**
* Please provide the customer references at invoice level. Note: customerReference/0/value with typeCode 'CU' is mandatory if using POST method and no shipmentTrackingNumber is provided in request.
* @type {Array<SupermodelIoLogisticsExpressExportDeclarationInvoiceCustomerReferences>}
* @memberof SupermodelIoLogisticsExpressExportDeclarationInvoice
*/
customerReferences?: Array<SupermodelIoLogisticsExpressExportDeclarationInvoiceCustomerReferences>;
}
/**
* @export
* @enum {string}
*/
export declare enum SupermodelIoLogisticsExpressExportDeclarationInvoiceFunctionEnum {
Import = "import",
Export = "export",
Both = "both"
}