Skip to main content

Invoice creation from an order

· One min read
Pavel Husa

We have introduced a new endpoint to create an invoice from an order. This emulates an action from the administration. Given an order, API creates and order by copying all applicable attributes from the header as well as all items. Several values can be specified or filled by default values – see the API documentation for a detailed request items’ description. The response returns the created invoice in the same format as Order detail endpoint. Only one invoice can be generated from an order using this endpoint.