POST
Generate an order invoice
Company space For: Cashier and seller, Manager · Permission: order_invoice_snapshots.create Conditions
  • A new invoice is generated only for a completed order; an invoice copy that already exists is returned whatever the order status.
  • An active invoice template is needed to generate the document.
What else happens
  • Stores a frozen copy of the invoice for the order; later template changes do not alter it.
  • Answers 201 even when a snapshot already existed and is returned.
Part of Take and approve orders.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

order
string
required

Identifier of the order.

Response

The response is of type string.