Expenses
Generate new expense reference
Creates a reference for the new expense to be imported into the system Returns a pre-signed url that allows you to send the expense file directly to the system's storage.
In order to finish the job you need to use the pre-signed link from response (data.uploadURL) in another PUT command, attaching the file in question.
Note: The response now returns invoiceId instead of fileId to align with the expense creation workflow.
post/expenses/generate
Request body
Response
OK
Example response
{
"result": "OK",
"data": {
"invoiceId": 1500
}
}