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

# Every accounting book, with what it carries, how far it has been posted, and whether it is configured well enough to hand over a journal.



## OpenAPI

````yaml /api-reference/openapi.json get /depreciation_books
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_books:
    get:
      tags:
        - Finance
      summary: >-
        Every accounting book, with what it carries, how far it has been posted,
        and whether it is configured well enough to hand over a journal.
      parameters:
        - $ref: '#/components/parameters/rowFilter.depreciation_books.id'
        - $ref: '#/components/parameters/rowFilter.depreciation_books.code'
        - $ref: '#/components/parameters/rowFilter.depreciation_books.name'
        - $ref: '#/components/parameters/rowFilter.depreciation_books.purpose'
        - $ref: '#/components/parameters/rowFilter.depreciation_books.gaap_framework'
        - $ref: '#/components/parameters/rowFilter.depreciation_books.basis'
        - $ref: '#/components/parameters/rowFilter.depreciation_books.rounding_scale'
        - $ref: '#/components/parameters/rowFilter.depreciation_books.is_primary'
        - $ref: '#/components/parameters/rowFilter.depreciation_books.is_active'
        - $ref: '#/components/parameters/rowFilter.depreciation_books.company_id'
        - $ref: '#/components/parameters/rowFilter.depreciation_books.company_code'
        - $ref: '#/components/parameters/rowFilter.depreciation_books.company_name'
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_books.functional_currency_id
        - $ref: '#/components/parameters/rowFilter.depreciation_books.currency_code'
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_books.fiscal_calendar_id
        - $ref: '#/components/parameters/rowFilter.depreciation_books.calendar_code'
        - $ref: '#/components/parameters/rowFilter.depreciation_books.calendar_name'
        - $ref: '#/components/parameters/rowFilter.depreciation_books.period_type'
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_books.year_start_month
        - $ref: '#/components/parameters/rowFilter.depreciation_books.enrolled_assets'
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_books.assets_in_register
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_books.total_cost_basis
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_books.total_accumulated
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_books.total_net_book_value
        - $ref: '#/components/parameters/rowFilter.depreciation_books.open_period_id'
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_books.open_period_label
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_books.last_posted_period
        - $ref: '#/components/parameters/rowFilter.depreciation_books.policy_rules'
        - $ref: >-
            #/components/parameters/rowFilter.depreciation_books.can_post_journals
        - $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_books'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/depreciation_books'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/depreciation_books'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/depreciation_books'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.depreciation_books.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.code:
      in: query
      name: code
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.name:
      in: query
      name: name
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.purpose:
      in: query
      name: purpose
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.gaap_framework:
      in: query
      name: gaap_framework
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.basis:
      in: query
      name: basis
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.rounding_scale:
      in: query
      name: rounding_scale
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.is_primary:
      in: query
      name: is_primary
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.is_active:
      in: query
      name: is_active
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.company_id:
      in: query
      name: company_id
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.company_code:
      in: query
      name: company_code
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.company_name:
      in: query
      name: company_name
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.functional_currency_id:
      in: query
      name: functional_currency_id
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.currency_code:
      in: query
      name: currency_code
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.fiscal_calendar_id:
      in: query
      name: fiscal_calendar_id
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.calendar_code:
      in: query
      name: calendar_code
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.calendar_name:
      in: query
      name: calendar_name
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.period_type:
      in: query
      name: period_type
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.year_start_month:
      in: query
      name: year_start_month
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.enrolled_assets:
      in: query
      name: enrolled_assets
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.assets_in_register:
      in: query
      name: assets_in_register
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.total_cost_basis:
      in: query
      name: total_cost_basis
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.total_accumulated:
      in: query
      name: total_accumulated
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.total_net_book_value:
      in: query
      name: total_net_book_value
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.open_period_id:
      in: query
      name: open_period_id
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.open_period_label:
      in: query
      name: open_period_label
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.last_posted_period:
      in: query
      name: last_posted_period
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.policy_rules:
      in: query
      name: policy_rules
      required: false
      schema:
        type: string
    rowFilter.depreciation_books.can_post_journals:
      in: query
      name: can_post_journals
      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_books:
      description: >-
        Every accounting book, with what it carries, how far it has been posted,
        and whether it is configured well enough to hand over a journal.
      properties:
        assets_in_register:
          format: bigint
          type: integer
        basis:
          format: character varying
          maxLength: 10
          type: string
        calendar_code:
          format: character varying
          maxLength: 40
          type: string
        calendar_name:
          format: character varying
          maxLength: 120
          type: string
        can_post_journals:
          format: boolean
          type: boolean
        code:
          format: character varying
          maxLength: 40
          type: string
        company_code:
          format: character varying
          maxLength: 50
          type: string
        company_id:
          description: >-
            Note:

            This is a Foreign Key to `depreciation_packs.company_id`.<fk
            table='depreciation_packs' column='company_id'/>
          format: uuid
          type: string
        company_name:
          format: character varying
          maxLength: 200
          type: string
        currency_code:
          format: character varying
          maxLength: 3
          type: string
        enrolled_assets:
          format: bigint
          type: integer
        fiscal_calendar_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_calendars.id`.<fk
            table='capex_calendars' column='id'/>
          format: uuid
          type: string
        functional_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
        gaap_framework:
          format: character varying
          maxLength: 60
          type: string
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        is_active:
          format: boolean
          type: boolean
        is_primary:
          format: boolean
          type: boolean
        last_posted_period:
          format: character varying
          maxLength: 30
          type: string
        name:
          format: character varying
          maxLength: 150
          type: string
        open_period_id:
          format: uuid
          type: string
        open_period_label:
          format: character varying
          maxLength: 30
          type: string
        period_type:
          format: character varying
          maxLength: 12
          type: string
        policy_rules:
          format: bigint
          type: integer
        purpose:
          format: character varying
          maxLength: 20
          type: string
        rounding_scale:
          format: smallint
          type: integer
        total_accumulated:
          format: numeric
          type: number
        total_cost_basis:
          format: numeric
          type: number
        total_net_book_value:
          format: numeric
          type: number
        year_start_month:
          format: smallint
          type: integer
      type: object

````