Docs
Create Expense
POST /Expenses
POST
/ExpensesCreates an expense and returns its new id. Only the name is required: a date and lines can be left out and the expense is flagged as incomplete until they are added. payeeType is Company, Crew or Collaborator; Company takes no payeeId, and Crew or Collaborator needs the id of that person on this event. proposalLineItemId links the expense to a budget line from Expenses_GetBudgetLines, and leaving it out saves the expense as unbudgeted. Requires event admin.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| date | date-time | Optional | |
| payeeType | string | Optional | |
| payeeId | uuid | Optional | |
| proposalLineItemId | uuid | Optional | |
| fileId | uuid | Optional | |
| notes | string | Optional | |
| lines | CreateExpenseRequestLineRequest[] | Optional |
CreateExpenseRequestLineRequest
| Field | Type | Description |
|---|---|---|
| description | string| null | |
| quantity | number | |
| unitAmount | number |