Invoices
Update an invoice
Update an invoice[Only CUSTOM invoices in DRAFT state support updating of all fields]. Updating status can be done for all invoice.
patch/invoices/{invoice_id}
Path parameters
invoice_idstring required
Example:ACC001
Request body
Example request
{
"startDate": "2020-06-04T12:00:00.000Z",
"endDate": "2020-07-04T12:00:00.000Z",
"status": "DUE"
}Response
Response for Get invoice requests
Example response
{
"autoAdvance": true,
"startDate": "2020-07-04T12:00:00.000Z",
"endDate": "2020-07-04T12:00:00.000Z",
"endDateInclusive": "2020-07-03T11:59:59.999Z",
"invoiceDate": "2020-07-04T12:00:00.000Z",
"dueDate": "2020-07-04T12:00:00.000Z"
}