latestOpenAPI 3.0.02026-08-10234193.3 KB

60e380005037

Shipments

Print Shipment Documents

This API method allows you to retrieve a transportation document in PDF format by providing the document number. Depending on the selected document type, the generated PDF may contain a customs declaration, commercial invoice, or another transportation-related document. By specifying the document number in the request, you can generate a PDF file containing the requested document for viewing, printing, or further processing.

get/shipments/print

Query parameters

numbers[]string

Shipment numbers. Can accept either a single number or an array of numbers.

typestring[]

Type of document to be printed.

  • international: for customs declaration/invoice
  • invoice: for commercial invoice
printSizeTypestring[]

Selection of document size.

If not provided:

  • type=international and type=invoice use size_A4 by default.

Response

A PDF file.