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

# The schemes in a plan, with what each was asked for, allowed, and phased to spend.



## OpenAPI

````yaml /api-reference/openapi.json get /capex_plan_lines
openapi: 3.0.0
info:
  description: ''
  title: >-
    The only schema PostgREST exposes. 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: 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: Amendments
  - name: Asset clone
  - name: Asset components
  - name: Asset register
  - name: Asset transfer
  - name: Audit feed
  - name: Billing
  - name: Bookings
  - name: Budgets
  - name: Bulk jobs
  - name: Calibration history
  - name: Capex plans
  - name: Conversations
  - name: Costing
  - name: Currency
  - name: Dashboards
  - name: Directory sync
  - name: Document control
  - name: Document folders
  - name: Document tree
  - name: Documents
  - name: Energy
  - name: Extracts
  - name: Features
  - name: Feeds
  - name: File exchange
  - name: Filing exceptions
  - name: Finance
  - name: Inbound mail
  - name: Keys
  - name: Knowledge
  - name: Licence
  - name: List views
  - name: Locations
  - name: Mapping
  - name: Mcp
  - name: Mcp oauth
  - name: Mfa
  - name: Numbering
  - name: Permits
  - name: Readers
  - name: Reference
  - name: Reference columns
  - name: Reference entry
  - name: Release
  - name: Scim
  - name: Security streams
  - name: Self verification
  - name: Setup
  - name: Shutdown
  - name: Sso
  - name: Telegram
  - name: Tenant switch
  - name: The caller's own work
  - name: The checklist library
  - name: Tools on a job, and who has them out
  - name: Tray
  - name: Vendor spend forecast
  - name: Vendors and contracts
  - name: Visitors
  - name: Work order execution
  - name: Work sequencing
  - name: Workforce detail
externalDocs:
  description: PostgREST Documentation
  url: https://postgrest.org/en/v12/references/api.html
paths:
  /capex_plan_lines:
    get:
      tags:
        - Capex plans
      summary: >-
        The schemes in a plan, with what each was asked for, allowed, and phased
        to spend.
      parameters:
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.id'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.capex_plan_id'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.plan_code'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.plan_status'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.plan_level'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.line_number'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.scheme_code'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.name'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.description'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.justification'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.priority'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.category'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.investment_type'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.line_status'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.capex_nature_id'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.nature_name'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.site_id'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.site_name'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.department_id'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.department_name'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.cost_center_id'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.cost_center_name'
        - $ref: >-
            #/components/parameters/rowFilter.capex_plan_lines.coordinator_user_id
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.coordinator_name'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.asset_class_id'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.asset_class_name'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.quantity'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.scheme_value'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.approved_amount'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.depreciation_rate'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.currency_id'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.currency_code'
        - $ref: >-
            #/components/parameters/rowFilter.capex_plan_lines.original_sanction_amount
        - $ref: >-
            #/components/parameters/rowFilter.capex_plan_lines.carried_actual_amount
        - $ref: >-
            #/components/parameters/rowFilter.capex_plan_lines.carried_from_line_id
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.carried_from_code'
        - $ref: >-
            #/components/parameters/rowFilter.capex_plan_lines.source_plan_line_id
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.source_plan_code'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.budget_id'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.budget_code'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.budget_actual'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.planned_cashflow'
        - $ref: >-
            #/components/parameters/rowFilter.capex_plan_lines.planned_capitalisation
        - $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/capex_plan_lines'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/capex_plan_lines'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/capex_plan_lines'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/capex_plan_lines'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.capex_plan_lines.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.capex_plan_id:
      in: query
      name: capex_plan_id
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.plan_code:
      in: query
      name: plan_code
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.plan_status:
      in: query
      name: plan_status
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.plan_level:
      in: query
      name: plan_level
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.line_number:
      in: query
      name: line_number
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.scheme_code:
      in: query
      name: scheme_code
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.name:
      in: query
      name: name
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.description:
      in: query
      name: description
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.justification:
      in: query
      name: justification
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.priority:
      in: query
      name: priority
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.category:
      in: query
      name: category
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.investment_type:
      in: query
      name: investment_type
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.line_status:
      in: query
      name: line_status
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.capex_nature_id:
      in: query
      name: capex_nature_id
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.nature_name:
      in: query
      name: nature_name
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.site_id:
      in: query
      name: site_id
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.site_name:
      in: query
      name: site_name
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.department_id:
      in: query
      name: department_id
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.department_name:
      in: query
      name: department_name
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.cost_center_id:
      in: query
      name: cost_center_id
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.cost_center_name:
      in: query
      name: cost_center_name
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.coordinator_user_id:
      in: query
      name: coordinator_user_id
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.coordinator_name:
      in: query
      name: coordinator_name
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.asset_class_id:
      in: query
      name: asset_class_id
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.asset_class_name:
      in: query
      name: asset_class_name
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.quantity:
      in: query
      name: quantity
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.scheme_value:
      in: query
      name: scheme_value
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.approved_amount:
      in: query
      name: approved_amount
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.depreciation_rate:
      in: query
      name: depreciation_rate
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.currency_id:
      in: query
      name: currency_id
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.currency_code:
      in: query
      name: currency_code
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.original_sanction_amount:
      in: query
      name: original_sanction_amount
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.carried_actual_amount:
      in: query
      name: carried_actual_amount
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.carried_from_line_id:
      in: query
      name: carried_from_line_id
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.carried_from_code:
      in: query
      name: carried_from_code
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.source_plan_line_id:
      in: query
      name: source_plan_line_id
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.source_plan_code:
      in: query
      name: source_plan_code
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.budget_id:
      in: query
      name: budget_id
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.budget_code:
      in: query
      name: budget_code
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.budget_actual:
      in: query
      name: budget_actual
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.planned_cashflow:
      in: query
      name: planned_cashflow
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.planned_capitalisation:
      in: query
      name: planned_capitalisation
      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:
    capex_plan_lines:
      description: >-
        The schemes in a plan, with what each was asked for, allowed, and phased
        to spend.
      properties:
        approved_amount:
          format: numeric
          type: number
        asset_class_id:
          description: >-
            Note:

            This is a Foreign Key to `asset_classes.id`.<fk
            table='asset_classes' column='id'/>
          format: uuid
          type: string
        asset_class_name:
          format: character varying
          maxLength: 150
          type: string
        budget_actual:
          format: numeric
          type: number
        budget_code:
          format: character varying
          maxLength: 60
          type: string
        budget_id:
          description: >-
            Note:

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

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

            This is a Foreign Key to `capex_plans.id`.<fk table='capex_plans'
            column='id'/>
          format: uuid
          type: string
        carried_actual_amount:
          format: numeric
          type: number
        carried_from_code:
          format: character varying
          maxLength: 60
          type: string
        carried_from_line_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_plan_lines.id`.<fk
            table='capex_plan_lines' column='id'/>
          format: uuid
          type: string
        category:
          format: character varying
          maxLength: 12
          type: string
        coordinator_name:
          format: character varying
          maxLength: 200
          type: string
        coordinator_user_id:
          description: >-
            Note:

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

            This is a Foreign Key to `cost_centre_settings.id`.<fk
            table='cost_centre_settings' column='id'/>
          format: uuid
          type: string
        cost_center_name:
          format: character varying
          maxLength: 200
          type: string
        currency_code:
          format: character varying
          maxLength: 3
          type: string
        currency_id:
          description: >-
            Note:

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

            This is a Foreign Key to `department_settings.id`.<fk
            table='department_settings' column='id'/>
          format: uuid
          type: string
        department_name:
          format: character varying
          maxLength: 200
          type: string
        depreciation_rate:
          format: numeric
          type: number
        description:
          format: text
          type: string
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        investment_type:
          format: character varying
          maxLength: 16
          type: string
        justification:
          format: text
          type: string
        line_number:
          format: integer
          type: integer
        line_status:
          format: character varying
          maxLength: 12
          type: string
        name:
          format: character varying
          maxLength: 250
          type: string
        nature_name:
          format: character varying
          maxLength: 120
          type: string
        original_sanction_amount:
          format: numeric
          type: number
        plan_code:
          format: character varying
          maxLength: 60
          type: string
        plan_level:
          format: character varying
          maxLength: 10
          type: string
        plan_status:
          format: character varying
          maxLength: 12
          type: string
        planned_capitalisation:
          format: numeric
          type: number
        planned_cashflow:
          format: numeric
          type: number
        priority:
          format: character varying
          maxLength: 12
          type: string
        quantity:
          format: numeric
          type: number
        scheme_code:
          format: character varying
          maxLength: 60
          type: string
        scheme_value:
          format: numeric
          type: number
        site_id:
          description: >-
            Note:

            This is a Foreign Key to `entry_currencies.for_site_id`.<fk
            table='entry_currencies' column='for_site_id'/>
          format: uuid
          type: string
        site_name:
          format: character varying
          maxLength: 200
          type: string
        source_plan_code:
          format: character varying
          maxLength: 60
          type: string
        source_plan_line_id:
          description: >-
            Note:

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

````