> ## 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 named rule sets a book resolves: method, life or rate, residual, and how a part period is charged.



## OpenAPI

````yaml /api-reference/openapi.json get /depreciation_policies
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:
  /depreciation_policies:
    get:
      tags:
        - Finance
      summary: >-
        The named rule sets a book resolves: method, life or rate, residual, and
        how a part period is charged.
      parameters:
        - $ref: '#/components/parameters/rowFilter.depreciation_policies.id'
        - $ref: '#/components/parameters/rowFilter.depreciation_policies.code'
        - $ref: '#/components/parameters/rowFilter.depreciation_policies.name'
        - $ref: '#/components/parameters/rowFilter.depreciation_policies.method'
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_policies.useful_life_months
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_policies.annual_rate_percent
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_policies.declining_factor
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_policies.switch_to_straight_line
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_policies.rate_table_id
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_policies.rate_table_code
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_policies.rate_table_convention
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_policies.residual_percent
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_policies.residual_amount
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_policies.immediate_expense_below
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_policies.first_period_convention
        - $ref: '#/components/parameters/rowFilter.depreciation_policies.period_basis'
        - $ref: '#/components/parameters/rowFilter.depreciation_policies.is_active'
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_policies.asset_meter_type_id
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_policies.meter_type_code
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_policies.meter_type_name
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_policies.total_expected_units
        - $ref: '#/components/parameters/rowFilter.depreciation_policies.shift_uplift'
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_policies.effective_annual_rate
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_policies.used_by_rules
        - $ref: '#/components/parameters/rowFilter.depreciation_policies.enrolments'
        - $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/depreciation_policies'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/depreciation_policies'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/depreciation_policies'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/depreciation_policies'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.depreciation_policies.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.code:
      in: query
      name: code
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.name:
      in: query
      name: name
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.method:
      in: query
      name: method
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.useful_life_months:
      in: query
      name: useful_life_months
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.annual_rate_percent:
      in: query
      name: annual_rate_percent
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.declining_factor:
      in: query
      name: declining_factor
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.switch_to_straight_line:
      in: query
      name: switch_to_straight_line
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.rate_table_id:
      in: query
      name: rate_table_id
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.rate_table_code:
      in: query
      name: rate_table_code
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.rate_table_convention:
      in: query
      name: rate_table_convention
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.residual_percent:
      in: query
      name: residual_percent
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.residual_amount:
      in: query
      name: residual_amount
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.immediate_expense_below:
      in: query
      name: immediate_expense_below
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.first_period_convention:
      in: query
      name: first_period_convention
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.period_basis:
      in: query
      name: period_basis
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.is_active:
      in: query
      name: is_active
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.asset_meter_type_id:
      in: query
      name: asset_meter_type_id
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.meter_type_code:
      in: query
      name: meter_type_code
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.meter_type_name:
      in: query
      name: meter_type_name
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.total_expected_units:
      in: query
      name: total_expected_units
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.shift_uplift:
      in: query
      name: shift_uplift
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.effective_annual_rate:
      in: query
      name: effective_annual_rate
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.used_by_rules:
      in: query
      name: used_by_rules
      required: false
      schema:
        type: string
    rowFilter.depreciation_policies.enrolments:
      in: query
      name: enrolments
      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:
    depreciation_policies:
      description: >-
        The named rule sets a book resolves: method, life or rate, residual, and
        how a part period is charged.
      properties:
        annual_rate_percent:
          format: numeric
          type: number
        asset_meter_type_id:
          description: >-
            Note:

            This is a Foreign Key to `asset_meter_types.id`.<fk
            table='asset_meter_types' column='id'/>
          format: uuid
          type: string
        code:
          format: character varying
          maxLength: 40
          type: string
        declining_factor:
          format: numeric
          type: number
        effective_annual_rate:
          format: numeric
          type: number
        enrolments:
          format: bigint
          type: integer
        first_period_convention:
          format: character varying
          maxLength: 20
          type: string
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        immediate_expense_below:
          format: numeric
          type: number
        is_active:
          format: boolean
          type: boolean
        meter_type_code:
          format: character varying
          maxLength: 60
          type: string
        meter_type_name:
          format: character varying
          maxLength: 150
          type: string
        method:
          format: character varying
          maxLength: 24
          type: string
        name:
          format: character varying
          maxLength: 150
          type: string
        period_basis:
          format: character varying
          maxLength: 16
          type: string
        rate_table_code:
          format: character varying
          maxLength: 60
          type: string
        rate_table_convention:
          format: character varying
          maxLength: 20
          type: string
        rate_table_id:
          description: >-
            Note:

            This is a Foreign Key to `rate_tables.id`.<fk table='rate_tables'
            column='id'/>
          format: uuid
          type: string
        residual_amount:
          format: numeric
          type: number
        residual_percent:
          format: numeric
          type: number
        shift_uplift:
          format: boolean
          type: boolean
        switch_to_straight_line:
          format: boolean
          type: boolean
        total_expected_units:
          format: numeric
          type: number
        used_by_rules:
          format: bigint
          type: integer
        useful_life_months:
          format: integer
          type: integer
      type: object

````