Create and Order Invoice

Creates an Invoice in Centelar.

POST /api/v2.1/order/invoice

Request Parameters

The request must include the connection_id parameter in the url

Name Type Description
connection_id integer Required. Id of the ecommerce integration in Centelar
order_id integer Required. Id of the order in Centelar
invoice_type string Required. One of FA, FB, FC,
fiscal_printer_id integer Required. The id of the fiscal printer in Centelar

Request Body

The request must not have a body

Response Sample

Status: 200 OK
{
  "success": true,
  "taskId": "XXXXXXXX",
  "invoice": {
  }
}