pixiCreateDirectInvoice

Creating an invoice directly from an order, without ScanIn. Shipout is not done automatically, might though be set through payment type e.g.

Since pixi version: LOU Official - Update 46 (6.9.46.27927) Additional notes:


Request

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

Request body

Name Type Required Description
LocID string false

Location of the Invoice to be created.

Type: varchar(3)

Default value: 001

Example: 001

Available from: LOU Official - Update 46 (6.9.46.27927)

OrderNr integer true

OrderNr of the order to be created.

Type: int

Default value: NULL

Example: 123

Available from: LOU Official - Update 46 (6.9.46.27927)

CreateEmp string false

User that creates the invoice.

Type: varchar(50)

Default value: API

Example: API

Available from: LOU Official - Update 46 (6.9.46.27927)

OrderlineRefs string true

List of all OrderLineKeys to be used. PLEASE NOTE: FORMAT ,1,2,3, - COMMAS ARE VERY IMPORTANT; LEADING AND TRAINLING. Sample Call: exec pipiCreateDirectInvoice @OrderNr = 93877, @OrderlineRefs = ",280727,280728,280729,"

Type: varchar(2000)

Default value: NULL

Example: ,1234,1235,1236,

Available from: LOU Official - Update 46 (6.9.46.27927)

AllInvoiceItemsInStock string false

Create the invoice only, of all items are on stock.

Type: varchar(1)

Default value: N

Example: (Y/N)

Available from: LOU Official - Update 46 (6.9.46.27927)


Response

Name Type Description