> ## 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 contract charges, line by line, with the dates each price is good for.



## OpenAPI

````yaml /api-reference/openapi.json get /contract_pricing
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:
  /contract_pricing:
    get:
      tags:
        - Contracts
      summary: >-
        What a contract charges, line by line, with the dates each price is good
        for.
      parameters:
        - $ref: '#/components/parameters/rowFilter.contract_pricing.id'
        - $ref: '#/components/parameters/rowFilter.contract_pricing.contract_id'
        - $ref: '#/components/parameters/rowFilter.contract_pricing.pricing_type'
        - $ref: '#/components/parameters/rowFilter.contract_pricing.description'
        - $ref: '#/components/parameters/rowFilter.contract_pricing.amount'
        - $ref: >-
            #/components/parameters/rowFilter.contract_pricing.amount_currency_id
        - $ref: '#/components/parameters/rowFilter.contract_pricing.discount_percent'
        - $ref: '#/components/parameters/rowFilter.contract_pricing.unit_of_measure'
        - $ref: '#/components/parameters/rowFilter.contract_pricing.effective_from'
        - $ref: '#/components/parameters/rowFilter.contract_pricing.effective_to'
        - $ref: '#/components/parameters/rowFilter.contract_pricing.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/contract_pricing'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/contract_pricing'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/contract_pricing'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/contract_pricing'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.contract_pricing.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.contract_pricing.contract_id:
      in: query
      name: contract_id
      required: false
      schema:
        type: string
    rowFilter.contract_pricing.pricing_type:
      in: query
      name: pricing_type
      required: false
      schema:
        type: string
    rowFilter.contract_pricing.description:
      in: query
      name: description
      required: false
      schema:
        type: string
    rowFilter.contract_pricing.amount:
      in: query
      name: amount
      required: false
      schema:
        type: string
    rowFilter.contract_pricing.amount_currency_id:
      in: query
      name: amount_currency_id
      required: false
      schema:
        type: string
    rowFilter.contract_pricing.discount_percent:
      in: query
      name: discount_percent
      required: false
      schema:
        type: string
    rowFilter.contract_pricing.unit_of_measure:
      in: query
      name: unit_of_measure
      required: false
      schema:
        type: string
    rowFilter.contract_pricing.effective_from:
      in: query
      name: effective_from
      required: false
      schema:
        type: string
    rowFilter.contract_pricing.effective_to:
      in: query
      name: effective_to
      required: false
      schema:
        type: string
    rowFilter.contract_pricing.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:
    contract_pricing:
      description: >-
        What a contract charges, line by line, with the dates each price is good
        for.
      properties:
        amount:
          format: numeric
          type: number
        amount_currency_id:
          format: uuid
          type: string
        contract_id:
          description: >-
            Note:

            This is a Foreign Key to `contracts.id`.<fk table='contracts'
            column='id'/>
          format: uuid
          type: string
        description:
          format: character varying
          maxLength: 250
          type: string
        discount_percent:
          format: numeric
          type: number
        effective_from:
          format: date
          type: string
        effective_to:
          format: date
          type: string
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        is_current:
          format: boolean
          type: boolean
        pricing_type:
          format: character varying
          maxLength: 30
          type: string
        unit_of_measure:
          format: character varying
          maxLength: 30
          type: string
      type: object

````

## Related topics

- [Purchase orders](/commercial/purchase-orders.md)
- [Custom fields](/config/custom-fields.md)
- [Sensors and condition alerts](/assets/sensors.md)
- [Administered lists](/config/administered-lists.md)
- [Inside a vendor](/commercial/vendor-detail.md)
