> ## 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.

# What a vendor charges — hourly, callout, travel, minimum hours and parts markup.

> Dated, so the row where `is_current` holds is the one to quote from.



## OpenAPI

````yaml /api-reference/openapi.json get /vendor_rates
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:
  /vendor_rates:
    get:
      tags:
        - Vendors and contracts
      summary: >-
        What a vendor charges — hourly, callout, travel, minimum hours and parts
        markup.
      description: Dated, so the row where `is_current` holds is the one to quote from.
      parameters:
        - $ref: '#/components/parameters/rowFilter.vendor_rates.id'
        - $ref: '#/components/parameters/rowFilter.vendor_rates.vendor_id'
        - $ref: '#/components/parameters/rowFilter.vendor_rates.code'
        - $ref: '#/components/parameters/rowFilter.vendor_rates.name'
        - $ref: '#/components/parameters/rowFilter.vendor_rates.rate_type'
        - $ref: '#/components/parameters/rowFilter.vendor_rates.category_name'
        - $ref: '#/components/parameters/rowFilter.vendor_rates.hourly_rate'
        - $ref: >-
            #/components/parameters/rowFilter.vendor_rates.hourly_rate_currency_id
        - $ref: '#/components/parameters/rowFilter.vendor_rates.callout_fee'
        - $ref: '#/components/parameters/rowFilter.vendor_rates.travel_rate_per_km'
        - $ref: '#/components/parameters/rowFilter.vendor_rates.minimum_hours'
        - $ref: '#/components/parameters/rowFilter.vendor_rates.parts_markup_percent'
        - $ref: '#/components/parameters/rowFilter.vendor_rates.effective_from'
        - $ref: '#/components/parameters/rowFilter.vendor_rates.effective_to'
        - $ref: '#/components/parameters/rowFilter.vendor_rates.is_current'
        - $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/vendor_rates'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/vendor_rates'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/vendor_rates'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/vendor_rates'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.vendor_rates.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.vendor_rates.vendor_id:
      in: query
      name: vendor_id
      required: false
      schema:
        type: string
    rowFilter.vendor_rates.code:
      in: query
      name: code
      required: false
      schema:
        type: string
    rowFilter.vendor_rates.name:
      in: query
      name: name
      required: false
      schema:
        type: string
    rowFilter.vendor_rates.rate_type:
      in: query
      name: rate_type
      required: false
      schema:
        type: string
    rowFilter.vendor_rates.category_name:
      in: query
      name: category_name
      required: false
      schema:
        type: string
    rowFilter.vendor_rates.hourly_rate:
      in: query
      name: hourly_rate
      required: false
      schema:
        type: string
    rowFilter.vendor_rates.hourly_rate_currency_id:
      in: query
      name: hourly_rate_currency_id
      required: false
      schema:
        type: string
    rowFilter.vendor_rates.callout_fee:
      in: query
      name: callout_fee
      required: false
      schema:
        type: string
    rowFilter.vendor_rates.travel_rate_per_km:
      in: query
      name: travel_rate_per_km
      required: false
      schema:
        type: string
    rowFilter.vendor_rates.minimum_hours:
      in: query
      name: minimum_hours
      required: false
      schema:
        type: string
    rowFilter.vendor_rates.parts_markup_percent:
      in: query
      name: parts_markup_percent
      required: false
      schema:
        type: string
    rowFilter.vendor_rates.effective_from:
      in: query
      name: effective_from
      required: false
      schema:
        type: string
    rowFilter.vendor_rates.effective_to:
      in: query
      name: effective_to
      required: false
      schema:
        type: string
    rowFilter.vendor_rates.is_current:
      in: query
      name: is_current
      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:
    vendor_rates:
      description: >-
        What a vendor charges — hourly, callout, travel, minimum hours and parts
        markup.


        Dated, so the row where `is_current` holds is the one to quote from.
      properties:
        callout_fee:
          format: numeric
          type: number
        category_name:
          format: character varying
          maxLength: 200
          type: string
        code:
          format: character varying
          maxLength: 60
          type: string
        effective_from:
          format: date
          type: string
        effective_to:
          format: date
          type: string
        hourly_rate:
          format: numeric
          type: number
        hourly_rate_currency_id:
          format: uuid
          type: string
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        is_current:
          format: boolean
          type: boolean
        minimum_hours:
          format: numeric
          type: number
        name:
          format: character varying
          maxLength: 200
          type: string
        parts_markup_percent:
          format: numeric
          type: number
        rate_type:
          format: character varying
          maxLength: 30
          type: string
        travel_rate_per_km:
          format: numeric
          type: number
        vendor_id:
          description: >-
            Note:

            This is a Foreign Key to `vendor_directory.vendor_id`.<fk
            table='vendor_directory' column='vendor_id'/>
          format: uuid
          type: string
      type: object

````

## Related topics

- [Inside a vendor](/commercial/vendor-detail.md)
- [Inside a work order](/work/work-order-detail.md)
- [Inside an asset](/assets/detail.md)
- [Your first hour](/quickstart.md)
- [Entitlements and claims](/commercial/entitlements.md)
