> ## Documentation Index
> Fetch the complete documentation index at: https://docs.assetinfinity.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Journeys claimed against a work order.

> is_billable is what decides whether it reaches an invoice.



## OpenAPI

````yaml /api-reference/openapi.json get /work_order_travel
openapi: 3.0.0
info:
  description: ''
  title: >-
    The only schema PostgREST exposes (ADR-014). Reads are security_invoker
    views; writes are SECURITY DEFINER functions. Rebuilt wholesale on every
    deploy — it holds no data.
  version: 12.2.3
servers:
  - url: https://app.assetinfinity.ai/api
security: []
tags:
  - name: Signing in
  - name: Profile
  - name: Assets
  - name: Asset lifecycle
  - name: Work lifecycle
  - name: Maintenance
  - name: Inventory
  - name: Inventory detail
  - name: Procurement
  - name: Contracts
  - name: Workforce
  - name: Capacity
  - name: Dispatch
  - name: Routing
  - name: Tools
  - name: Inspections
  - name: Verification
  - name: Reliability
  - name: Parts demand
  - name: Sensors and meters
  - name: Map
  - name: Floor plans
  - name: Labels
  - name: Lost and found
  - name: Root cause analysis
  - name: Reports
  - name: Audit center
  - name: Activity
  - name: Notifications
  - name: Channels
  - name: Search
  - name: Copilot
  - name: Import
  - name: Files
  - name: Sync
  - name: Support
  - name: Admin
  - name: Access
  - name: Lookups
  - name: Read models
  - name: Branding
  - name: Custom fields
  - name: Form studio
  - name: Workflows
  - name: Workflow studio
  - name: Rules
  - name: Statuses and transitions
  - name: Currencies and locales
  - name: Work configuration
  - name: Asset configuration
  - name: Inventory configuration
  - name: Tool configuration
  - name: Workforce configuration
  - name: Vendor and contract configuration
  - name: Document configuration
  - name: Inspection configuration
  - name: Sites, locations and the organisation
  - name: Platform
  - name: Self verification
  - name: Setup
  - name: Tools on a job, and who has them out
  - name: Vendors and contracts
  - name: Work order execution
  - name: Workforce detail
externalDocs:
  description: PostgREST Documentation
  url: https://postgrest.org/en/v12/references/api.html
paths:
  /work_order_travel:
    get:
      tags:
        - Work order execution
      summary: Journeys claimed against a work order.
      description: is_billable is what decides whether it reaches an invoice.
      parameters:
        - $ref: '#/components/parameters/rowFilter.work_order_travel.id'
        - $ref: '#/components/parameters/rowFilter.work_order_travel.work_order_id'
        - $ref: '#/components/parameters/rowFilter.work_order_travel.worker_id'
        - $ref: '#/components/parameters/rowFilter.work_order_travel.worker_name'
        - $ref: >-
            #/components/parameters/rowFilter.work_order_travel.origin_description
        - $ref: >-
            #/components/parameters/rowFilter.work_order_travel.destination_description
        - $ref: '#/components/parameters/rowFilter.work_order_travel.distance_km'
        - $ref: '#/components/parameters/rowFilter.work_order_travel.travel_minutes'
        - $ref: '#/components/parameters/rowFilter.work_order_travel.departed_at'
        - $ref: '#/components/parameters/rowFilter.work_order_travel.arrived_at'
        - $ref: '#/components/parameters/rowFilter.work_order_travel.travel_cost'
        - $ref: >-
            #/components/parameters/rowFilter.work_order_travel.travel_cost_currency_id
        - $ref: '#/components/parameters/rowFilter.work_order_travel.currency_code'
        - $ref: '#/components/parameters/rowFilter.work_order_travel.is_billable'
        - $ref: '#/components/parameters/rowFilter.work_order_travel.row_version'
        - $ref: '#/components/parameters/select'
        - $ref: '#/components/parameters/order'
        - $ref: '#/components/parameters/range'
        - $ref: '#/components/parameters/rangeUnit'
        - $ref: '#/components/parameters/offset'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/preferCount'
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/work_order_travel'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/work_order_travel'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/work_order_travel'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/work_order_travel'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.work_order_travel.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.work_order_travel.work_order_id:
      in: query
      name: work_order_id
      required: false
      schema:
        type: string
    rowFilter.work_order_travel.worker_id:
      in: query
      name: worker_id
      required: false
      schema:
        type: string
    rowFilter.work_order_travel.worker_name:
      in: query
      name: worker_name
      required: false
      schema:
        type: string
    rowFilter.work_order_travel.origin_description:
      in: query
      name: origin_description
      required: false
      schema:
        type: string
    rowFilter.work_order_travel.destination_description:
      in: query
      name: destination_description
      required: false
      schema:
        type: string
    rowFilter.work_order_travel.distance_km:
      in: query
      name: distance_km
      required: false
      schema:
        type: string
    rowFilter.work_order_travel.travel_minutes:
      in: query
      name: travel_minutes
      required: false
      schema:
        type: string
    rowFilter.work_order_travel.departed_at:
      in: query
      name: departed_at
      required: false
      schema:
        type: string
    rowFilter.work_order_travel.arrived_at:
      in: query
      name: arrived_at
      required: false
      schema:
        type: string
    rowFilter.work_order_travel.travel_cost:
      in: query
      name: travel_cost
      required: false
      schema:
        type: string
    rowFilter.work_order_travel.travel_cost_currency_id:
      in: query
      name: travel_cost_currency_id
      required: false
      schema:
        type: string
    rowFilter.work_order_travel.currency_code:
      in: query
      name: currency_code
      required: false
      schema:
        type: string
    rowFilter.work_order_travel.is_billable:
      in: query
      name: is_billable
      required: false
      schema:
        type: string
    rowFilter.work_order_travel.row_version:
      in: query
      name: row_version
      required: false
      schema:
        type: string
    select:
      description: Filtering Columns
      in: query
      name: select
      required: false
      schema:
        type: string
    order:
      description: Ordering
      in: query
      name: order
      required: false
      schema:
        type: string
    range:
      description: Limiting and Pagination
      in: header
      name: Range
      required: false
      schema:
        type: string
    rangeUnit:
      description: Limiting and Pagination
      in: header
      name: Range-Unit
      required: false
      schema:
        default: items
        type: string
    offset:
      description: Limiting and Pagination
      in: query
      name: offset
      required: false
      schema:
        type: string
    limit:
      description: Limiting and Pagination
      in: query
      name: limit
      required: false
      schema:
        type: string
    preferCount:
      description: Preference
      in: header
      name: Prefer
      required: false
      schema:
        enum:
          - count=none
        type: string
  schemas:
    work_order_travel:
      description: |-
        Journeys claimed against a work order.

        is_billable is what decides whether it reaches an invoice.
      properties:
        arrived_at:
          format: timestamp with time zone
          type: string
        currency_code:
          format: character varying
          maxLength: 3
          type: string
        departed_at:
          format: timestamp with time zone
          type: string
        destination_description:
          format: character varying
          maxLength: 250
          type: string
        distance_km:
          format: numeric
          type: number
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        is_billable:
          format: boolean
          type: boolean
        origin_description:
          format: character varying
          maxLength: 250
          type: string
        row_version:
          format: bigint
          type: integer
        travel_cost:
          format: numeric
          type: number
        travel_cost_currency_id:
          format: uuid
          type: string
        travel_minutes:
          format: integer
          type: integer
        work_order_id:
          description: >-
            Note:

            This is a Foreign Key to
            `inspection_failures.found_in_work_order_id`.<fk
            table='inspection_failures' column='found_in_work_order_id'/>
          format: uuid
          type: string
        worker_id:
          description: >-
            Note:

            This is a Foreign Key to `technician_workload.worker_id`.<fk
            table='technician_workload' column='worker_id'/>
          format: uuid
          type: string
        worker_name:
          format: character varying
          maxLength: 200
          type: string
      type: object

````

## Related topics

- [Inside a work order](/work/work-order-detail.md)
- [Entitlements and claims](/commercial/entitlements.md)
- [Lost & Found](/work/lost-and-found.md)
- [Purchase orders](/commercial/purchase-orders.md)
- [Work settings](/config/work.md)
