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

# Bills: one per charge per payer, with their status, why one is invalid, and their way through the ERP.

> Bills: one per charge per payer, with their status, why one is invalid, and their way through the ERP.



## OpenAPI

````yaml /api-reference/openapi.json get /booking_bills
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: 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: 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 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: 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: 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: 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: Telegram
  - name: Inbound mail
  - name: Platform
externalDocs:
  description: PostgREST Documentation
  url: https://postgrest.org/en/v12/references/api.html
paths:
  /booking_bills:
    get:
      tags:
        - Booking bills
      summary: >-
        Bills: one per charge per payer, with their status, why one is invalid,
        and their way through the ERP.
      description: >-
        Bills: one per charge per payer, with their status, why one is invalid,
        and their way through the ERP.
      parameters:
        - $ref: '#/components/parameters/rowFilter.booking_bills.id'
        - $ref: '#/components/parameters/rowFilter.booking_bills.bill_number'
        - $ref: '#/components/parameters/rowFilter.booking_bills.status'
        - $ref: '#/components/parameters/rowFilter.booking_bills.invalid_reasons'
        - $ref: '#/components/parameters/rowFilter.booking_bills.booking_charge_id'
        - $ref: '#/components/parameters/rowFilter.booking_bills.booking_id'
        - $ref: '#/components/parameters/rowFilter.booking_bills.booking_number'
        - $ref: '#/components/parameters/rowFilter.booking_bills.booking_title'
        - $ref: '#/components/parameters/rowFilter.booking_bills.site_id'
        - $ref: '#/components/parameters/rowFilter.booking_bills.site_name'
        - $ref: '#/components/parameters/rowFilter.booking_bills.line_type'
        - $ref: '#/components/parameters/rowFilter.booking_bills.line_id'
        - $ref: '#/components/parameters/rowFilter.booking_bills.resource_id'
        - $ref: '#/components/parameters/rowFilter.booking_bills.resource_reference'
        - $ref: '#/components/parameters/rowFilter.booking_bills.resource_name'
        - $ref: '#/components/parameters/rowFilter.booking_bills.charge_category'
        - $ref: '#/components/parameters/rowFilter.booking_bills.description'
        - $ref: '#/components/parameters/rowFilter.booking_bills.is_credit'
        - $ref: '#/components/parameters/rowFilter.booking_bills.period_start'
        - $ref: '#/components/parameters/rowFilter.booking_bills.period_end'
        - $ref: '#/components/parameters/rowFilter.booking_bills.days'
        - $ref: '#/components/parameters/rowFilter.booking_bills.share'
        - $ref: '#/components/parameters/rowFilter.booking_bills.charge_to'
        - $ref: '#/components/parameters/rowFilter.booking_bills.project_id'
        - $ref: '#/components/parameters/rowFilter.booking_bills.project_number'
        - $ref: '#/components/parameters/rowFilter.booking_bills.project_name'
        - $ref: '#/components/parameters/rowFilter.booking_bills.project_task_id'
        - $ref: '#/components/parameters/rowFilter.booking_bills.task_number'
        - $ref: '#/components/parameters/rowFilter.booking_bills.task_name'
        - $ref: '#/components/parameters/rowFilter.booking_bills.payer_name'
        - $ref: '#/components/parameters/rowFilter.booking_bills.cost_center_id'
        - $ref: '#/components/parameters/rowFilter.booking_bills.department_id'
        - $ref: '#/components/parameters/rowFilter.booking_bills.business_unit_id'
        - $ref: '#/components/parameters/rowFilter.booking_bills.customer_id'
        - $ref: '#/components/parameters/rowFilter.booking_bills.booking_rate_id'
        - $ref: '#/components/parameters/rowFilter.booking_bills.rate_card_name'
        - $ref: '#/components/parameters/rowFilter.booking_bills.rate_card_code'
        - $ref: '#/components/parameters/rowFilter.booking_bills.rate_basis'
        - $ref: '#/components/parameters/rowFilter.booking_bills.unit_rate'
        - $ref: '#/components/parameters/rowFilter.booking_bills.amount'
        - $ref: '#/components/parameters/rowFilter.booking_bills.amount_currency_id'
        - $ref: '#/components/parameters/rowFilter.booking_bills.currency'
        - $ref: '#/components/parameters/rowFilter.booking_bills.validated_at'
        - $ref: '#/components/parameters/rowFilter.booking_bills.sent_at'
        - $ref: '#/components/parameters/rowFilter.booking_bills.sent_by_name'
        - $ref: '#/components/parameters/rowFilter.booking_bills.erp_reference'
        - $ref: '#/components/parameters/rowFilter.booking_bills.closed_at'
        - $ref: '#/components/parameters/rowFilter.booking_bills.erp_failed_at'
        - $ref: '#/components/parameters/rowFilter.booking_bills.erp_failure_reason'
        - $ref: '#/components/parameters/rowFilter.booking_bills.waived_at'
        - $ref: '#/components/parameters/rowFilter.booking_bills.waived_by_name'
        - $ref: '#/components/parameters/rowFilter.booking_bills.waived_reason'
        - $ref: '#/components/parameters/rowFilter.booking_bills.is_correctable'
        - $ref: '#/components/parameters/rowFilter.booking_bills.created_at'
        - $ref: '#/components/parameters/rowFilter.booking_bills.row_version'
        - $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_bills'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/booking_bills'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/booking_bills'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/booking_bills'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.booking_bills.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.booking_bills.bill_number:
      in: query
      name: bill_number
      required: false
      schema:
        type: string
    rowFilter.booking_bills.status:
      in: query
      name: status
      required: false
      schema:
        type: string
    rowFilter.booking_bills.invalid_reasons:
      in: query
      name: invalid_reasons
      required: false
      schema:
        type: string
    rowFilter.booking_bills.booking_charge_id:
      in: query
      name: booking_charge_id
      required: false
      schema:
        type: string
    rowFilter.booking_bills.booking_id:
      in: query
      name: booking_id
      required: false
      schema:
        type: string
    rowFilter.booking_bills.booking_number:
      in: query
      name: booking_number
      required: false
      schema:
        type: string
    rowFilter.booking_bills.booking_title:
      in: query
      name: booking_title
      required: false
      schema:
        type: string
    rowFilter.booking_bills.site_id:
      in: query
      name: site_id
      required: false
      schema:
        type: string
    rowFilter.booking_bills.site_name:
      in: query
      name: site_name
      required: false
      schema:
        type: string
    rowFilter.booking_bills.line_type:
      in: query
      name: line_type
      required: false
      schema:
        type: string
    rowFilter.booking_bills.line_id:
      in: query
      name: line_id
      required: false
      schema:
        type: string
    rowFilter.booking_bills.resource_id:
      in: query
      name: resource_id
      required: false
      schema:
        type: string
    rowFilter.booking_bills.resource_reference:
      in: query
      name: resource_reference
      required: false
      schema:
        type: string
    rowFilter.booking_bills.resource_name:
      in: query
      name: resource_name
      required: false
      schema:
        type: string
    rowFilter.booking_bills.charge_category:
      in: query
      name: charge_category
      required: false
      schema:
        type: string
    rowFilter.booking_bills.description:
      in: query
      name: description
      required: false
      schema:
        type: string
    rowFilter.booking_bills.is_credit:
      in: query
      name: is_credit
      required: false
      schema:
        type: string
    rowFilter.booking_bills.period_start:
      in: query
      name: period_start
      required: false
      schema:
        type: string
    rowFilter.booking_bills.period_end:
      in: query
      name: period_end
      required: false
      schema:
        type: string
    rowFilter.booking_bills.days:
      in: query
      name: days
      required: false
      schema:
        type: string
    rowFilter.booking_bills.share:
      in: query
      name: share
      required: false
      schema:
        type: string
    rowFilter.booking_bills.charge_to:
      in: query
      name: charge_to
      required: false
      schema:
        type: string
    rowFilter.booking_bills.project_id:
      in: query
      name: project_id
      required: false
      schema:
        type: string
    rowFilter.booking_bills.project_number:
      in: query
      name: project_number
      required: false
      schema:
        type: string
    rowFilter.booking_bills.project_name:
      in: query
      name: project_name
      required: false
      schema:
        type: string
    rowFilter.booking_bills.project_task_id:
      in: query
      name: project_task_id
      required: false
      schema:
        type: string
    rowFilter.booking_bills.task_number:
      in: query
      name: task_number
      required: false
      schema:
        type: string
    rowFilter.booking_bills.task_name:
      in: query
      name: task_name
      required: false
      schema:
        type: string
    rowFilter.booking_bills.payer_name:
      in: query
      name: payer_name
      required: false
      schema:
        type: string
    rowFilter.booking_bills.cost_center_id:
      in: query
      name: cost_center_id
      required: false
      schema:
        type: string
    rowFilter.booking_bills.department_id:
      in: query
      name: department_id
      required: false
      schema:
        type: string
    rowFilter.booking_bills.business_unit_id:
      in: query
      name: business_unit_id
      required: false
      schema:
        type: string
    rowFilter.booking_bills.customer_id:
      in: query
      name: customer_id
      required: false
      schema:
        type: string
    rowFilter.booking_bills.booking_rate_id:
      in: query
      name: booking_rate_id
      required: false
      schema:
        type: string
    rowFilter.booking_bills.rate_card_name:
      in: query
      name: rate_card_name
      required: false
      schema:
        type: string
    rowFilter.booking_bills.rate_card_code:
      in: query
      name: rate_card_code
      required: false
      schema:
        type: string
    rowFilter.booking_bills.rate_basis:
      in: query
      name: rate_basis
      required: false
      schema:
        type: string
    rowFilter.booking_bills.unit_rate:
      in: query
      name: unit_rate
      required: false
      schema:
        type: string
    rowFilter.booking_bills.amount:
      in: query
      name: amount
      required: false
      schema:
        type: string
    rowFilter.booking_bills.amount_currency_id:
      in: query
      name: amount_currency_id
      required: false
      schema:
        type: string
    rowFilter.booking_bills.currency:
      in: query
      name: currency
      required: false
      schema:
        type: string
    rowFilter.booking_bills.validated_at:
      in: query
      name: validated_at
      required: false
      schema:
        type: string
    rowFilter.booking_bills.sent_at:
      in: query
      name: sent_at
      required: false
      schema:
        type: string
    rowFilter.booking_bills.sent_by_name:
      in: query
      name: sent_by_name
      required: false
      schema:
        type: string
    rowFilter.booking_bills.erp_reference:
      in: query
      name: erp_reference
      required: false
      schema:
        type: string
    rowFilter.booking_bills.closed_at:
      in: query
      name: closed_at
      required: false
      schema:
        type: string
    rowFilter.booking_bills.erp_failed_at:
      in: query
      name: erp_failed_at
      required: false
      schema:
        type: string
    rowFilter.booking_bills.erp_failure_reason:
      in: query
      name: erp_failure_reason
      required: false
      schema:
        type: string
    rowFilter.booking_bills.waived_at:
      in: query
      name: waived_at
      required: false
      schema:
        type: string
    rowFilter.booking_bills.waived_by_name:
      in: query
      name: waived_by_name
      required: false
      schema:
        type: string
    rowFilter.booking_bills.waived_reason:
      in: query
      name: waived_reason
      required: false
      schema:
        type: string
    rowFilter.booking_bills.is_correctable:
      in: query
      name: is_correctable
      required: false
      schema:
        type: string
    rowFilter.booking_bills.created_at:
      in: query
      name: created_at
      required: false
      schema:
        type: string
    rowFilter.booking_bills.row_version:
      in: query
      name: row_version
      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_bills:
      description: >-
        Bills: one per charge per payer, with their status, why one is invalid,
        and their way through
             the ERP.
      properties:
        amount:
          format: numeric
          type: number
        amount_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
        bill_number:
          format: character varying
          maxLength: 60
          type: string
        booking_charge_id:
          description: >-
            Note:

            This is a Foreign Key to `booking_charges.id`.<fk
            table='booking_charges' column='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
        closed_at:
          format: timestamp with time zone
          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
        created_at:
          format: timestamp with time zone
          type: string
        currency:
          format: character varying
          maxLength: 3
          type: string
        customer_id:
          format: uuid
          type: string
        days:
          format: numeric
          type: number
        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
        erp_failed_at:
          format: timestamp with time zone
          type: string
        erp_failure_reason:
          format: character varying
          maxLength: 500
          type: string
        erp_reference:
          format: character varying
          maxLength: 100
          type: string
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        invalid_reasons:
          format: text[]
          items:
            type: string
          type: array
        is_correctable:
          format: boolean
          type: boolean
        is_credit:
          format: boolean
          type: boolean
        line_id:
          format: uuid
          type: string
        line_type:
          format: character varying
          maxLength: 20
          type: string
        payer_name:
          format: text
          type: string
        period_end:
          format: timestamp with time zone
          type: string
        period_start:
          format: timestamp with time zone
          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
        project_name:
          format: character varying
          maxLength: 200
          type: string
        project_number:
          format: character varying
          maxLength: 60
          type: string
        project_task_id:
          description: >-
            Note:

            This is a Foreign Key to `project_tasks.id`.<fk
            table='project_tasks' column='id'/>
          format: uuid
          type: string
        rate_basis:
          format: character varying
          maxLength: 20
          type: string
        rate_card_code:
          format: character varying
          maxLength: 60
          type: string
        rate_card_name:
          format: character varying
          maxLength: 200
          type: string
        resource_id:
          format: uuid
          type: string
        resource_name:
          format: text
          type: string
        resource_reference:
          format: text
          type: string
        row_version:
          format: bigint
          type: integer
        sent_at:
          format: timestamp with time zone
          type: string
        sent_by_name:
          format: character varying
          maxLength: 200
          type: string
        share:
          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
        status:
          format: character varying
          maxLength: 30
          type: string
        task_name:
          format: character varying
          maxLength: 200
          type: string
        task_number:
          format: character varying
          maxLength: 50
          type: string
        unit_rate:
          format: numeric
          type: number
        validated_at:
          format: timestamp with time zone
          type: string
        waived_at:
          format: timestamp with time zone
          type: string
        waived_by_name:
          format: character varying
          maxLength: 200
          type: string
        waived_reason:
          format: character varying
          maxLength: 500
          type: string
      type: object

````

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