> ## 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 charge ledger, with the payer dimensions carried down from the booking so a recharge

>      extract is one query.



## OpenAPI

````yaml /api-reference/openapi.json get /booking_charges
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:
  /booking_charges:
    get:
      tags:
        - Bookings
      summary: >-
        The charge ledger, with the payer dimensions carried down from the
        booking so a recharge
      description: '     extract is one query.'
      parameters:
        - $ref: '#/components/parameters/rowFilter.booking_charges.id'
        - $ref: '#/components/parameters/rowFilter.booking_charges.booking_id'
        - $ref: '#/components/parameters/rowFilter.booking_charges.booking_number'
        - $ref: '#/components/parameters/rowFilter.booking_charges.booking_title'
        - $ref: '#/components/parameters/rowFilter.booking_charges.line_type'
        - $ref: '#/components/parameters/rowFilter.booking_charges.line_id'
        - $ref: '#/components/parameters/rowFilter.booking_charges.charge_category'
        - $ref: '#/components/parameters/rowFilter.booking_charges.description'
        - $ref: '#/components/parameters/rowFilter.booking_charges.pricing_state'
        - $ref: '#/components/parameters/rowFilter.booking_charges.booking_rate_id'
        - $ref: '#/components/parameters/rowFilter.booking_charges.rate_basis'
        - $ref: '#/components/parameters/rowFilter.booking_charges.rate_type'
        - $ref: '#/components/parameters/rowFilter.booking_charges.unit_rate'
        - $ref: '#/components/parameters/rowFilter.booking_charges.quantity'
        - $ref: '#/components/parameters/rowFilter.booking_charges.unit_of_measure_id'
        - $ref: '#/components/parameters/rowFilter.booking_charges.unit_of_measure'
        - $ref: '#/components/parameters/rowFilter.booking_charges.amount'
        - $ref: '#/components/parameters/rowFilter.booking_charges.amount_currency_id'
        - $ref: '#/components/parameters/rowFilter.booking_charges.currency'
        - $ref: >-
            #/components/parameters/rowFilter.booking_charges.accrual_period_start
        - $ref: '#/components/parameters/rowFilter.booking_charges.accrual_period_end'
        - $ref: '#/components/parameters/rowFilter.booking_charges.is_chargeable'
        - $ref: '#/components/parameters/rowFilter.booking_charges.reverses_charge_id'
        - $ref: '#/components/parameters/rowFilter.booking_charges.is_correction'
        - $ref: '#/components/parameters/rowFilter.booking_charges.is_reversed'
        - $ref: '#/components/parameters/rowFilter.booking_charges.incurred_at'
        - $ref: '#/components/parameters/rowFilter.booking_charges.charge_to'
        - $ref: '#/components/parameters/rowFilter.booking_charges.cost_center_id'
        - $ref: '#/components/parameters/rowFilter.booking_charges.department_id'
        - $ref: '#/components/parameters/rowFilter.booking_charges.business_unit_id'
        - $ref: '#/components/parameters/rowFilter.booking_charges.project_id'
        - $ref: '#/components/parameters/rowFilter.booking_charges.customer_id'
        - $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/booking_charges'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/booking_charges'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/booking_charges'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/booking_charges'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.booking_charges.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.booking_charges.booking_id:
      in: query
      name: booking_id
      required: false
      schema:
        type: string
    rowFilter.booking_charges.booking_number:
      in: query
      name: booking_number
      required: false
      schema:
        type: string
    rowFilter.booking_charges.booking_title:
      in: query
      name: booking_title
      required: false
      schema:
        type: string
    rowFilter.booking_charges.line_type:
      in: query
      name: line_type
      required: false
      schema:
        type: string
    rowFilter.booking_charges.line_id:
      in: query
      name: line_id
      required: false
      schema:
        type: string
    rowFilter.booking_charges.charge_category:
      in: query
      name: charge_category
      required: false
      schema:
        type: string
    rowFilter.booking_charges.description:
      in: query
      name: description
      required: false
      schema:
        type: string
    rowFilter.booking_charges.pricing_state:
      in: query
      name: pricing_state
      required: false
      schema:
        type: string
    rowFilter.booking_charges.booking_rate_id:
      in: query
      name: booking_rate_id
      required: false
      schema:
        type: string
    rowFilter.booking_charges.rate_basis:
      in: query
      name: rate_basis
      required: false
      schema:
        type: string
    rowFilter.booking_charges.rate_type:
      in: query
      name: rate_type
      required: false
      schema:
        type: string
    rowFilter.booking_charges.unit_rate:
      in: query
      name: unit_rate
      required: false
      schema:
        type: string
    rowFilter.booking_charges.quantity:
      in: query
      name: quantity
      required: false
      schema:
        type: string
    rowFilter.booking_charges.unit_of_measure_id:
      in: query
      name: unit_of_measure_id
      required: false
      schema:
        type: string
    rowFilter.booking_charges.unit_of_measure:
      in: query
      name: unit_of_measure
      required: false
      schema:
        type: string
    rowFilter.booking_charges.amount:
      in: query
      name: amount
      required: false
      schema:
        type: string
    rowFilter.booking_charges.amount_currency_id:
      in: query
      name: amount_currency_id
      required: false
      schema:
        type: string
    rowFilter.booking_charges.currency:
      in: query
      name: currency
      required: false
      schema:
        type: string
    rowFilter.booking_charges.accrual_period_start:
      in: query
      name: accrual_period_start
      required: false
      schema:
        type: string
    rowFilter.booking_charges.accrual_period_end:
      in: query
      name: accrual_period_end
      required: false
      schema:
        type: string
    rowFilter.booking_charges.is_chargeable:
      in: query
      name: is_chargeable
      required: false
      schema:
        type: string
    rowFilter.booking_charges.reverses_charge_id:
      in: query
      name: reverses_charge_id
      required: false
      schema:
        type: string
    rowFilter.booking_charges.is_correction:
      in: query
      name: is_correction
      required: false
      schema:
        type: string
    rowFilter.booking_charges.is_reversed:
      in: query
      name: is_reversed
      required: false
      schema:
        type: string
    rowFilter.booking_charges.incurred_at:
      in: query
      name: incurred_at
      required: false
      schema:
        type: string
    rowFilter.booking_charges.charge_to:
      in: query
      name: charge_to
      required: false
      schema:
        type: string
    rowFilter.booking_charges.cost_center_id:
      in: query
      name: cost_center_id
      required: false
      schema:
        type: string
    rowFilter.booking_charges.department_id:
      in: query
      name: department_id
      required: false
      schema:
        type: string
    rowFilter.booking_charges.business_unit_id:
      in: query
      name: business_unit_id
      required: false
      schema:
        type: string
    rowFilter.booking_charges.project_id:
      in: query
      name: project_id
      required: false
      schema:
        type: string
    rowFilter.booking_charges.customer_id:
      in: query
      name: customer_id
      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:
    booking_charges:
      description: >-
        The charge ledger, with the payer dimensions carried down from the
        booking so a recharge
             extract is one query.
      properties:
        accrual_period_end:
          format: timestamp with time zone
          type: string
        accrual_period_start:
          format: timestamp with time zone
          type: string
        amount:
          format: numeric
          type: number
        amount_currency_id:
          format: uuid
          type: string
        booking_id:
          description: >-
            Note:

            This is a Foreign Key to `bookings.id`.<fk table='bookings'
            column='id'/>
          format: uuid
          type: string
        booking_number:
          format: character varying
          maxLength: 60
          type: string
        booking_rate_id:
          description: >-
            Note:

            This is a Foreign Key to `booking_rates.id`.<fk
            table='booking_rates' column='id'/>
          format: uuid
          type: string
        booking_title:
          format: character varying
          maxLength: 250
          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
        charge_category:
          format: character varying
          maxLength: 30
          type: string
        charge_to:
          format: character varying
          maxLength: 30
          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
        currency:
          format: character varying
          type: string
        customer_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
        description:
          format: character varying
          maxLength: 250
          type: string
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        incurred_at:
          format: timestamp with time zone
          type: string
        is_chargeable:
          format: boolean
          type: boolean
        is_correction:
          format: boolean
          type: boolean
        is_reversed:
          format: boolean
          type: boolean
        line_id:
          format: uuid
          type: string
        line_type:
          format: character varying
          maxLength: 20
          type: string
        pricing_state:
          format: character varying
          maxLength: 20
          type: string
        project_id:
          description: >-
            Note:

            This is a Foreign Key to `project_settings.id`.<fk
            table='project_settings' column='id'/>
          format: uuid
          type: string
        quantity:
          format: numeric
          type: number
        rate_basis:
          format: character varying
          type: string
        rate_type:
          format: character varying
          type: string
        reverses_charge_id:
          description: >-
            Note:

            This is a Foreign Key to `booking_charges.id`.<fk
            table='booking_charges' column='id'/>
          format: uuid
          type: string
        unit_of_measure:
          format: character varying
          maxLength: 30
          type: string
        unit_of_measure_id:
          description: >-
            Note:

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

````