curl --request PUT \
--url https://api.getenso.ai/invoices/{invoiceId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"date": "2023-12-25",
"fromDate": "2023-12-25",
"toDate": "2023-12-25",
"notes": "<string>",
"invoiceItemOrder": [
"<string>"
]
}
'{
"status": "success",
"message": "Success",
"data": {}
}Update an invoice’s dates, notes, or status. Only draft invoices can have items modified.
curl --request PUT \
--url https://api.getenso.ai/invoices/{invoiceId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"date": "2023-12-25",
"fromDate": "2023-12-25",
"toDate": "2023-12-25",
"notes": "<string>",
"invoiceItemOrder": [
"<string>"
]
}
'{
"status": "success",
"message": "Success",
"data": {}
}JWT bearer token obtained from POST /auth/system-login using your client credentials.
Invoice ID