Docs

Create Expense

POST /Expenses

POST/Expenses

Creates 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

FieldTypeRequiredDescription
namestringOptional
datedate-timeOptional
payeeTypestringOptional
payeeIduuidOptional
proposalLineItemIduuidOptional
fileIduuidOptional
notesstringOptional
linesCreateExpenseRequestLineRequest[]Optional

CreateExpenseRequestLineRequest

FieldTypeDescription
descriptionstring| null
quantitynumber
unitAmountnumber