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 Apiary documentation for detail 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.