Endpoints for generating and retrieving shipment-related documents.
Get shipping label
Get the shipping label for a shipment in various formats. Supports both JSON and XML responses. XML format follows the EDIFACT D96A standard for shipping label interchange, while JSON is provided for modern API integrations.
path Parameters
shipmentIdquery Parameters
formatLabel format
Headers
AcceptResponse format. Use application/xml for EDI-compliant responses following EDIFACT D96A standard.
Get shipping label โบ Responses
Label generated successfully
shipmentIdformatidurlcreatedAtexpiresAtGet commercial invoice
Generate an enhanced commercial invoice with digital signatures, multiple format support, and customs pre-clearance capabilities. Supports both standard formats and country-specific templates.
path Parameters
shipmentIdquery Parameters
formatDocument format. XML/EDI formats follow international customs standards.
templateCountry-specific template to use
includeAdditional documents to include
Get commercial invoice โบ Responses
Commercial invoice generated successfully
customsStatusGet commercial invoice (legacy)
Generate a basic commercial invoice for an international shipment. This endpoint is deprecated, please use /shipments/{shipmentId}/documents/v2/commercial-invoice for enhanced features including digital signatures, multiple formats, and customs pre-clearance.
path Parameters
shipmentIdquery Parameters
formatGet commercial invoice (legacy) โบ Responses
Commercial invoice generated successfully
urlexpiresAt