Returns a paginated list of trips for the specified business. Trips can be filtered by date range, purpose, vehicle, and search query.
Documentation Index
Fetch the complete documentation index at: https://docs.layerfi.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Content-Type must be set to application/json.
The UUID of the business.
Include deleted trips in the response.
Filter by trip purpose. Can be specified multiple times for multiple purposes.
UNREVIEWED, BUSINESS, PERSONAL Comma-separated list of vehicle UUIDs to filter by.
Filter trips on or after this date (YYYY-MM-DD).
Filter trips on or before this date (YYYY-MM-DD).
Filter trips by year.
Search query to filter trips by description, start address, end address, or vehicle make/model.
Paginated list of trips.
The unique identifier of the trip.
The vehicle used for this trip.
The distance traveled in miles, as a decimal string.
The date of the trip (YYYY-MM-DD).
The purpose classification of the trip.
UNREVIEWED, BUSINESS, PERSONAL The IRS standard mileage rate in cents per mile applicable for the trip date.
The estimated tax deduction in cents. Only calculated for BUSINESS trips; returns 0 for PERSONAL and UNREVIEWED trips.
Timestamp when the trip was created.
Timestamp when the trip was last updated.
An optional external identifier for the trip, used for idempotency.
The starting address of the trip.
The ending address of the trip.
An optional description or notes about the trip.
Timestamp when the trip was deleted, or null if not deleted.