v1

latestOpenAPI 3.0.02026-08-068926279.2 KB
Expenses

Create an expense

Creates a new expense entry

post/expenses

Request body

datestring date required
amountnumber required
vendorstring required
descriptionstring
expense_category_idinteger
project_idinteger
client_idinteger
status'unbilled' | 'billed'

Example request

{
  "amount": 125.5,
  "vendor": "Office Supplies Co"
}

Response

Expense created

idinteger
team_idinteger
project_idinteger nullable
client_idinteger nullable
category_idinteger nullable
amountnumber
vendorstring
descriptionstring nullable
status'unbilled' | 'billed'
datestring date
date_formattedstring
created_atstring date-time

Example response

{
  "id": 1,
  "team_id": 1,
  "project_id": 1,
  "client_id": 1,
  "category_id": 1,
  "amount": 125.5,
  "vendor": "Office Supplies Co",
  "description": "Printer paper and ink",
  "status": "unbilled",
  "date": "2024-01-15",
  "date_formatted": "01/15/24"
}