pixiGetInvoicePackage

API call returns invoice packages based on provided filter parameters.

Since pixi version: 19.03 (9.0.1.37798) Additional notes:


Request

POST https://apigateway.descartes.com/tms/pixi/pixiGetInvoicePackage

Request body

Name Type Required Description
InvoiceId integer false

Filter: Invoice Id

Type: int

Default value: NULL

Example: 123

Available from: 19.03 (9.0.1.37798)

PackageId integer false

Filter: Package Id

Type: int

Default value: NULL

Example: 123

Available from: 19.03 (9.0.1.37798)

InvoiceNumber string false

Filter: Invoice number

Type: varchar(20)

Default value: NULL

Example: abcdefg

Available from: 19.03 (9.0.1.37798)


Response

1. Returned packages

Name Type Description
InvoiceId integer

Invoice Id

Type: int

Available from: 25.06 (25.6.0.58802)

InvoiceNr string

pixi Invoice Number

Type: varchar

Available from: 25.06 (25.6.0.58802)

PackageId integer

Package Id

Type: int

Available from: 25.06 (25.6.0.58802)

TrackingId string

Tracking ID of the shipment. Applies to the orders that have been shipped

Type: varchar

Available from: 25.06 (25.6.0.58802)

GrossWeight number

Weight of package

Type: money

Available from: 25.06 (25.6.0.58802)

ReturnLabelUrl string

Return label URL

Type: varchar

Available from: 25.06 (25.6.0.58802)

OrderNrExternal string

External order number

Type: varchar

Available from: 25.06 (25.6.0.58802)

ReturnTrackingId string

Return tracking Id

Type: varchar

Available from: 25.06 (25.6.0.58802)

ShippingLabelUrl string

Shipping label URL

Type: varchar

Available from: 25.06 (25.6.0.58802)

TimesLabelPrinted string

Counter how many times label was printed

Type: tinyint

Available from: 25.06 (25.6.0.58802)

ExternalShipmentId string

External shipment Id

Type: varchar

Available from: 25.06 (25.6.0.58802)

PackageDimensionId integer

Package dimentions Id

Type: int

Available from: 25.06 (25.6.0.58802)

MessageFromProvider string

Message from label provider

Type: varchar

Available from: 25.06 (25.6.0.58802)

PackageDimensionCode string

Package dimension code

Type: nvarchar

Available from: 25.06 (25.6.0.58802)

MessageFromProviderDetail string

Detailed message from label provider

Type: varchar

Available from: 25.06 (25.6.0.58802)

2. Status output

Name Type Description
Status string

Execution status (Info/Error)

Type: varchar

Available from: 25.06 (25.6.0.58802)

Message string

Description of the status

Type: varchar

Available from: 25.06 (25.6.0.58802)