Docs
Get Expenses
GET /Expenses
GET
/ExpensesLists the event's expenses, undated ones first and then newest first. Each row gives the total, payee, budget link, order association, payment state (Recorded, Owed or Paid), the problems that make it incomplete, and any receipt extraction still in progress. Use Expenses_GetExpense for the lines of one expense. Requires event admin.
Response
Type: GetExpensesResponse[]
GetExpensesResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| date | date-time| null | |
| fileId | uuid| null | |
| notes | string| null | |
| total | number | |
| isReimbursable | boolean | |
| isBudgeted | boolean | |
| lineCount | integer | |
| payee | GetExpensesResponsePayeeInfo | |
| budget | GetExpensesResponseBudgetInfo | |
| order | GetExpensesResponseOrderInfo | |
| problems | string[]| null | |
| isComplete | boolean | |
| paymentState | string| null | |
| extraction | GetExpensesResponseExtractionInfo |
GetExpensesResponsePayeeInfo
| Field | Type | Description |
|---|---|---|
| type | string| null | |
| id | uuid| null |
GetExpensesResponseBudgetInfo
| Field | Type | Description |
|---|---|---|
| proposalLineItemId | uuid | |
| proposalLineItemName | string| null | |
| proposalId | uuid | |
| proposalName | string| null |
GetExpensesResponseOrderInfo
| Field | Type | Description |
|---|---|---|
| orderId | uuid | |
| orderName | string| null | |
| orderExpenseLineItemId | uuid |
GetExpensesResponseExtractionInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| state | string| null |