Sales
Create ConsolidatedInvoice
Permissions needed: NONE This endpoint is used to create the consolidated invoice for selected sales - all sales must belong to same customer.
post/api/v1/sale/consolidate
Request body
Example request
{
"customer_id": 1,
"invoice_date": "2020-01-01T00:00:00.000Z",
"sales_ids": [
1,
2,
3
]
}Response
successful operation