> ## 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 proposals in a plan, with what each was asked for, allowed, and phased to spend. scheme_value is…

> The proposals in a plan, with what each was asked for, allowed, and phased to spend. scheme_value is fresh_sanction_amount plus approved_carryover_amount on a proposal written with them; both are null on one whose value was given as a single figure. plan_code and plan_name name the plan a proposal is on, division_name its division, fiscal_calendar_name the fiscal calendar the plan is counted on, and fiscal_year_start_month the month that calendar starts its financial year in, so fiscal_year 2027 on a calendar starting in April is April 2026 to March 2027. category_master_id (the Category) and budget_category_id (the Sub-Category) are values of your organisation's lists named Category Master and Sub-Category Master, each beside the value's name.

Each proposal is approved on its own, in one workflow holding every level of its approval. proposal_status says where it stands: DRAFT, IN_APPROVAL, UNDER_REVISION, APPROVED_FOR_PLAN once its last level has approved it, or REJECTED; PLAN_APPROVED and PLAN_REJECTED are a proposal the earlier whole-plan process decided. proposal_status_reason says what was last said about it and proposal_status_at when. request_id is its open request, or its last one, and request_display_status where that request stands, as your approvals show it: PENDING while a level is still to decide it, including after an earlier level has approved; ROLLBACK when a level has sent it back to the one before; REVISION while it is with its creator; APPROVED once the last level has approved it; REJECTED; or WITHDRAWN or FAILED where it ended that way. request_workflow and stage_two_error are from a second workflow proposals no longer go through: request_workflow is PROPOSAL, or CAPEX_PLAN on a request that workflow raised before it was retired, and stage_two_error is null. reviewed_at is when an approver first acted on it. is_final_approved is whether money may be opened against it, and is_live whether it counts in its division's year; a proposal copied into a division plan by the earlier whole-plan process is not, because its copy is. initiator_user_id is the person its requests are raised for, who alone corrects it when it is sent back for revision.



## 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: My work
  - name: Sites and locations
  - name: Assets
  - name: Asset lifecycle
  - name: Asset components
  - name: Kits
  - name: Work lifecycle
  - name: Work order execution
  - name: Work sequencing
  - name: Maintenance
  - name: Inspections
  - name: Checklists
  - name: Verification
  - name: Self verification
  - name: Inventory
  - name: Inventory detail
  - name: Parts demand
  - name: Procurement
  - name: Catalogue
  - name: Vendors and contracts
  - name: Contracts
  - name: Amendments
  - name: Vendor spend forecast
  - name: Workforce
  - name: Workforce detail
  - name: Capacity
  - name: Dispatch
  - name: Shutdown
  - name: Permits
  - name: Tools
  - name: Tools on jobs
  - name: Bookings
  - name: Booking hand over
  - name: Booking bills
  - name: Calibration history
  - name: Reliability
  - name: Sensors and meters
  - name: Readers
  - name: Trackers
  - name: Real-time location
  - name: Feeds
  - name: Energy
  - name: IT assets
  - name: IT asset software
  - name: IT asset topology
  - name: Warranty lookups
  - name: Map
  - name: Floor plans
  - name: Labels
  - name: Lost and found
  - name: Visitors
  - name: Root cause analysis
  - name: Costing
  - name: Finance
  - name: E-way bills
  - name: E-way bill filing
  - name: Budgets
  - name: Capex plans
  - name: Capex consolidation
  - name: Capex capitalization
  - name: FF&E plans
  - name: Documents
  - name: Document control
  - name: Document folders
  - name: Document tree
  - name: Knowledge
  - name: Reports
  - name: Dashboards
  - name: Extracts
  - name: Data exports
  - name: Audit center
  - name: Audit feed
  - name: Activity
  - name: Conversations
  - name: Notifications
  - name: Date reminders
  - name: Channels
  - name: Search
  - name: Copilot
  - name: Import
  - name: Bulk jobs
  - name: File exchange
  - name: Filing exceptions
  - name: Files
  - name: Sync
  - name: Support
  - name: API keys
  - name: Webhooks
  - name: MCP connections
  - name: MCP sign-in
  - name: SCIM provisioning
  - name: Directory sync
  - name: Security streams
  - name: Clarity
  - name: Single sign-on
  - name: Two-factor sign-in
  - name: Admin
  - name: Access
  - name: Lookups
  - name: Read models
  - name: Reference
  - name: Reference columns
  - name: Reference entry
  - name: List views
  - name: Mapping
  - name: Numbering
  - name: Branding
  - name: Custom fields
  - name: Form studio
  - name: Workflows
  - name: Workflow studio
  - name: Rules
  - name: Statuses and transitions
  - name: Currencies and locales
  - name: Today
  - 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: Setup
  - name: Features
  - name: Billing
  - name: Licence
  - name: Welcome
  - name: Tray
  - name: Tenant switch
  - name: Release
  - name: Upgrade
  - name: Telegram
  - name: Whatsapp
  - name: Inbound mail
  - name: Platform
externalDocs:
  description: PostgREST Documentation
  url: https://postgrest.org/en/v12/references/api.html
paths:
  /capex_plan_lines:
    get:
      tags:
        - Capex plans
      summary: >-
        The proposals in a plan, with what each was asked for, allowed, and
        phased to spend. scheme_value is…
      description: >-
        The proposals in a plan, with what each was asked for, allowed, and
        phased to spend. scheme_value is fresh_sanction_amount plus
        approved_carryover_amount on a proposal written with them; both are null
        on one whose value was given as a single figure. plan_code and plan_name
        name the plan a proposal is on, division_name its division,
        fiscal_calendar_name the fiscal calendar the plan is counted on, and
        fiscal_year_start_month the month that calendar starts its financial
        year in, so fiscal_year 2027 on a calendar starting in April is April
        2026 to March 2027. category_master_id (the Category) and
        budget_category_id (the Sub-Category) are values of your organisation's
        lists named Category Master and Sub-Category Master, each beside the
        value's name.


        Each proposal is approved on its own, in one workflow holding every
        level of its approval. proposal_status says where it stands: DRAFT,
        IN_APPROVAL, UNDER_REVISION, APPROVED_FOR_PLAN once its last level has
        approved it, or REJECTED; PLAN_APPROVED and PLAN_REJECTED are a proposal
        the earlier whole-plan process decided. proposal_status_reason says what
        was last said about it and proposal_status_at when. request_id is its
        open request, or its last one, and request_display_status where that
        request stands, as your approvals show it: PENDING while a level is
        still to decide it, including after an earlier level has approved;
        ROLLBACK when a level has sent it back to the one before; REVISION while
        it is with its creator; APPROVED once the last level has approved it;
        REJECTED; or WITHDRAWN or FAILED where it ended that way.
        request_workflow and stage_two_error are from a second workflow
        proposals no longer go through: request_workflow is PROPOSAL, or
        CAPEX_PLAN on a request that workflow raised before it was retired, and
        stage_two_error is null. reviewed_at is when an approver first acted on
        it. is_final_approved is whether money may be opened against it, and
        is_live whether it counts in its division's year; a proposal copied into
        a division plan by the earlier whole-plan process is not, because its
        copy is. initiator_user_id is the person its requests are raised for,
        who alone corrects it when it is sent back for revision.
      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.plan_name'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.created_at'
        - $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.flexible_marked_at
        - $ref: >-
            #/components/parameters/rowFilter.capex_plan_lines.flexible_marked_by_user_id
        - $ref: >-
            #/components/parameters/rowFilter.capex_plan_lines.flexible_marked_by_name
        - $ref: >-
            #/components/parameters/rowFilter.capex_plan_lines.flexible_marked_unit_value
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.unit_value'
        - $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.proposal_status'
        - $ref: >-
            #/components/parameters/rowFilter.capex_plan_lines.proposal_status_reason
        - $ref: >-
            #/components/parameters/rowFilter.capex_plan_lines.proposal_status_at
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.reviewed_at'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.stage_two_error'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.is_live'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.is_final_approved'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.business_unit_id'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.fiscal_year'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.division_name'
        - $ref: >-
            #/components/parameters/rowFilter.capex_plan_lines.fiscal_year_start_month
        - $ref: >-
            #/components/parameters/rowFilter.capex_plan_lines.fiscal_calendar_name
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.initiator_user_id'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.request_id'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.request_workflow'
        - $ref: >-
            #/components/parameters/rowFilter.capex_plan_lines.request_display_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.location_id'
        - $ref: '#/components/parameters/rowFilter.capex_plan_lines.location_name'
        - $ref: >-
            #/components/parameters/rowFilter.capex_plan_lines.category_master_id
        - $ref: >-
            #/components/parameters/rowFilter.capex_plan_lines.category_master_name
        - $ref: >-
            #/components/parameters/rowFilter.capex_plan_lines.budget_category_id
        - $ref: >-
            #/components/parameters/rowFilter.capex_plan_lines.budget_category_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.fresh_sanction_amount
        - $ref: >-
            #/components/parameters/rowFilter.capex_plan_lines.approved_carryover_amount
        - $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.plan_name:
      in: query
      name: plan_name
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.created_at:
      in: query
      name: created_at
      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.flexible_marked_at:
      in: query
      name: flexible_marked_at
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.flexible_marked_by_user_id:
      in: query
      name: flexible_marked_by_user_id
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.flexible_marked_by_name:
      in: query
      name: flexible_marked_by_name
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.flexible_marked_unit_value:
      in: query
      name: flexible_marked_unit_value
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.unit_value:
      in: query
      name: unit_value
      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.proposal_status:
      in: query
      name: proposal_status
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.proposal_status_reason:
      in: query
      name: proposal_status_reason
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.proposal_status_at:
      in: query
      name: proposal_status_at
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.reviewed_at:
      in: query
      name: reviewed_at
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.stage_two_error:
      in: query
      name: stage_two_error
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.is_live:
      in: query
      name: is_live
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.is_final_approved:
      in: query
      name: is_final_approved
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.business_unit_id:
      in: query
      name: business_unit_id
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.fiscal_year:
      in: query
      name: fiscal_year
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.division_name:
      in: query
      name: division_name
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.fiscal_year_start_month:
      in: query
      name: fiscal_year_start_month
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.fiscal_calendar_name:
      in: query
      name: fiscal_calendar_name
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.initiator_user_id:
      in: query
      name: initiator_user_id
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.request_id:
      in: query
      name: request_id
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.request_workflow:
      in: query
      name: request_workflow
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.request_display_status:
      in: query
      name: request_display_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.location_id:
      in: query
      name: location_id
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.location_name:
      in: query
      name: location_name
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.category_master_id:
      in: query
      name: category_master_id
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.category_master_name:
      in: query
      name: category_master_name
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.budget_category_id:
      in: query
      name: budget_category_id
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.budget_category_name:
      in: query
      name: budget_category_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.fresh_sanction_amount:
      in: query
      name: fresh_sanction_amount
      required: false
      schema:
        type: string
    rowFilter.capex_plan_lines.approved_carryover_amount:
      in: query
      name: approved_carryover_amount
      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 proposals in a plan, with what each was asked for, allowed, and
        phased to spend. scheme_value is fresh_sanction_amount plus
        approved_carryover_amount on a proposal written with them; both are null
        on one whose value was given as a single figure. plan_code and plan_name
        name the plan a proposal is on, division_name its division,
        fiscal_calendar_name the fiscal calendar the plan is counted on, and
        fiscal_year_start_month the month that calendar starts its financial
        year in, so fiscal_year 2027 on a calendar starting in April is April
        2026 to March 2027. category_master_id (the Category) and
        budget_category_id (the Sub-Category) are values of your organisation's
        lists named Category Master and Sub-Category Master, each beside the
        value's name.


        Each proposal is approved on its own, in one workflow holding every
        level of its approval. proposal_status says where it stands: DRAFT,
        IN_APPROVAL, UNDER_REVISION, APPROVED_FOR_PLAN once its last level has
        approved it, or REJECTED; PLAN_APPROVED and PLAN_REJECTED are a proposal
        the earlier whole-plan process decided. proposal_status_reason says what
        was last said about it and proposal_status_at when. request_id is its
        open request, or its last one, and request_display_status where that
        request stands, as your approvals show it: PENDING while a level is
        still to decide it, including after an earlier level has approved;
        ROLLBACK when a level has sent it back to the one before; REVISION while
        it is with its creator; APPROVED once the last level has approved it;
        REJECTED; or WITHDRAWN or FAILED where it ended that way.
        request_workflow and stage_two_error are from a second workflow
        proposals no longer go through: request_workflow is PROPOSAL, or
        CAPEX_PLAN on a request that workflow raised before it was retired, and
        stage_two_error is null. reviewed_at is when an approver first acted on
        it. is_final_approved is whether money may be opened against it, and
        is_live whether it counts in its division's year; a proposal copied into
        a division plan by the earlier whole-plan process is not, because its
        copy is. initiator_user_id is the person its requests are raised for,
        who alone corrects it when it is sent back for revision.
      properties:
        approved_amount:
          format: numeric
          type: number
        approved_carryover_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_category_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_asset_blocks.id`.<fk
            table='capex_asset_blocks' column='id'/>
          format: uuid
          type: string
        budget_category_name:
          format: character varying
          maxLength: 150
          type: string
        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
        business_unit_id:
          description: >-
            Note:

            This is a Foreign Key to `business_units.id`.<fk
            table='business_units' 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
        category_master_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_asset_blocks.id`.<fk
            table='capex_asset_blocks' column='id'/>
          format: uuid
          type: string
        category_master_name:
          format: character varying
          maxLength: 150
          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
        created_at:
          format: timestamp with time zone
          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
        depreciation_rate:
          format: numeric
          type: number
        description:
          format: text
          type: string
        division_name:
          format: character varying
          maxLength: 200
          type: string
        fiscal_calendar_name:
          format: character varying
          maxLength: 120
          type: string
        fiscal_year:
          format: integer
          type: integer
        fiscal_year_start_month:
          format: smallint
          type: integer
        flexible_marked_at:
          format: timestamp with time zone
          type: string
        flexible_marked_by_name:
          format: character varying
          maxLength: 200
          type: string
        flexible_marked_by_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
        flexible_marked_unit_value:
          format: numeric
          type: number
        fresh_sanction_amount:
          format: numeric
          type: number
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        initiator_user_id:
          format: uuid
          type: string
        investment_type:
          format: character varying
          maxLength: 16
          type: string
        is_final_approved:
          format: boolean
          type: boolean
        is_live:
          format: boolean
          type: boolean
        justification:
          format: text
          type: string
        line_status:
          format: character varying
          maxLength: 12
          type: string
        location_id:
          format: uuid
          type: string
        location_name:
          format: character varying
          maxLength: 200
          type: string
        name:
          format: text
          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_name:
          format: character varying
          maxLength: 200
          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
        proposal_status:
          format: character varying
          maxLength: 24
          type: string
        proposal_status_at:
          format: timestamp with time zone
          type: string
        proposal_status_reason:
          format: text
          type: string
        quantity:
          format: numeric
          type: number
        request_display_status:
          format: text
          type: string
        request_id:
          format: uuid
          type: string
        request_workflow:
          format: text
          type: string
        reviewed_at:
          format: timestamp with time zone
          type: string
        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
        stage_two_error:
          format: text
          type: string
        unit_value:
          format: numeric
          type: number
      type: object

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.