Expense

Create expense

Creates a new expense with the provided details. The expense will be associated with the task specified in the DTO.

post/v1/expenses

Request body

descriptionstring
dateTimestring
amountstring decimal
refundedboolean
fileUristring
fileNamestring
taskIdstring

Response

Created expense

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

Changes

No recorded changes to this endpoint across all 3 revisions of this API.