v1

latestOpenAPI 3.0.1Apache 2.02026-08-06260217675.1 KB
Expense

Create expense with file

Creates a new expense with an optional file attachment in a single request. Pass the expense data as JSON in the 'data' form field and the file in the 'file' field. This is useful when you want to create an expense and upload a receipt in one operation.

post/v1/expenses/with-file

Response

Created expense

idstring
userstring
deletedboolean
lastUpdateinteger
createdinteger
descriptionstring
dateTimestring
amountstring decimal
refundedboolean
fileUristring
fileNamestring
invoiceIdstring