v1

latestOpenAPI 3.1.0Terms of services for Altera.app2026-07-13146285.1 KB
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

namestring required

The filename (including extension)

mimestring required

Mime type of the file we wish to upload

md5string required

MD5 checksum of the file we wish to upload

overrideboolean

Override if a duplicate was found?

privateboolean

Whether the file should be marked as private

Response

OK

resultstring

Example response

{
  "result": "OK",
  "data": {
    "invoiceId": 1500
  }
}