Description
Creating an invoice directly from an order, without ScanIn. Shipout is not done automatically, might though be set through payment type e.g.
Request Parameters
| # | Name | Type | Required | Example | Description |
| 1 | OrderNr | integer | 1 | 123 | OrderNr of the order to be created. |
| 2 | OrderlineRefs | string | 1 | ,1234,1235,1236, | 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," |
| 3 | AllInvoiceItemsInStock | string | 0 | (Y/N) | Create the invoice only, of all items are on stock. |
| 4 | LocID | string | 0 | 001 | Location of the Invoice to be created. |
| 5 | CreateEmp | string | 0 | API | User that creates the invoice. |
Request body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dem="https://api.pixi.eu/soap/demosandbox/"> <soapenv:Header/> <soapenv:Body> <dem:pixiCreateDirectInvoice> <dem:OrderNr>123</dem:OrderNr> <dem:OrderlineRefs>,1234,1235,1236,</dem:OrderlineRefs> <dem:AllInvoiceItemsInStock>(Y/N)</dem:AllInvoiceItemsInStock> <dem:LocID>001</dem:LocID> <dem:CreateEmp>API</dem:CreateEmp> </dem:pixiCreateDirectInvoice> </soapenv:Body> </soapenv:Envelope>