v1
latestOpenAPI 3.0.32026-07-2632131.4 MBGet expenses with filtering
Retrieves expenses with optional filtering and pagination.
Filters by status (comma-separated), category, vendor, owner, listing, reservation IDs, and date ranges.
Returns up to 100 items per page. Defaults to 50 items, sorted by creation date descending.
Query parameters
Comma-separated expense statuses to filter by. Valid values: scheduled, submitted, insufficient_funds, paid, canceled
Category ID to filter expenses by
Vendor ID to filter expenses by (MongoDB ObjectId)
Owner ID to filter expenses by (MongoDB ObjectId)
Listing ID to filter expenses by (MongoDB ObjectId)
Reservation ID to filter expenses by (MongoDB ObjectId)
Expense Rule ID to filter expenses by
Filter expenses from this date (inclusive, ISO date format)
Filter expenses to this date (inclusive, ISO date format)
Number of expenses to return (1-100)
Number of expenses to skip for pagination
Field to sort expenses by
Sort order for the results
Response
Paginated response with filtered expenses, total count, and pagination metadata
Example response
{
"count": 147,
"limit": 50
}