# Get All Expenses Retrieve all expenses in your workspace. Supports filtering by ID and date range. Results are paginated. Endpoint: GET /expenses Version: 2.0.0 Security: oauth2, apiKey ## Query parameters: - `workspace_id` (integer, required) ID of the workspace Example: 1 - `id` (string) UUID of the expense Example: "a1b2c3d4-e5f6-7890-abcd-ef1234567890" - `date_from` (string) Filter expenses from this date (YYYY-MM-DD) Example: "2024-01-01" - `date_to` (string) Filter expenses to this date (YYYY-MM-DD) Example: "2024-01-31" - `page` (integer) Page number for pagination Example: 1 - `per_page` (integer) Number of items per page (max 100) Example: 20 ## Response 200 fields (application/json): - `success` (boolean) Example: true - `data` (array) - `data.id` (string, required) UUID of the expense Example: "a1b2c3d4-e5f6-7890-abcd-ef1234567890" - `data.member` (string,null) Full name of the member who created the expense Example: "John Doe" - `data.expense_date` (string,null) Date of the expense (formatted) Example: "Jan 15, 2024" - `data.expense_name` (string) Name/description of the expense Example: "Office Supplies" - `data.project` (string,null) Name of the project (if assigned) Example: "Marketing Campaign Q1" - `data.category` (string,null) Name of the expense category Example: "Office Supplies" - `data.amount` (number) Amount of the expense Example: 150.5 - `data.note` (string,null) Additional notes about the expense Example: "Purchased office supplies for Q1" - `data.type` (string) Whether the expense is billable Enum: "billable", "non-billable" - `data.added_dte` (string,null) Date when expense was added (formatted) Example: "Jan 15, 2024" - `meta` (object) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) ## Response 400 fields (application/json): - `success` (boolean, required) - `message` (string, required) Error message describing what went wrong Example: "An error occurred" - `error` (string,null) Optional additional error details Example: "Internal Server Error" - `meta` (object, required) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) ## Response 401 fields (application/json): - `success` (boolean, required) - `message` (string, required) Error message describing what went wrong Example: "An error occurred" - `error` (string,null) Optional additional error details Example: "Internal Server Error" - `meta` (object, required) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) ## Response 403 fields (application/json): - `success` (boolean, required) - `message` (string, required) Error message describing what went wrong Example: "An error occurred" - `error` (string,null) Optional additional error details Example: "Internal Server Error" - `meta` (object, required) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) ## Response 500 fields (application/json): - `success` (boolean, required) - `message` (string, required) Error message describing what went wrong Example: "An error occurred" - `error` (string,null) Optional additional error details Example: "Internal Server Error" - `meta` (object, required) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string)