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

# Work a supplier has finished and not yet billed us for, valued from the accepted claim or the

>      accepted quote. One row per supplier per job — what a month-end accrual is written from.



## OpenAPI

````yaml /api-reference/openapi.json get /work_provisions
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:
  /work_provisions:
    get:
      tags:
        - Procurement
      summary: >-
        Work a supplier has finished and not yet billed us for, valued from the
        accepted claim or the
      description: '     accepted quote. One row per supplier per job — what a month-end accrual is written from.'
      parameters:
        - $ref: '#/components/parameters/rowFilter.work_provisions.engagement_id'
        - $ref: '#/components/parameters/rowFilter.work_provisions.work_order_id'
        - $ref: '#/components/parameters/rowFilter.work_provisions.work_order_number'
        - $ref: '#/components/parameters/rowFilter.work_provisions.title'
        - $ref: '#/components/parameters/rowFilter.work_provisions.work_order_status'
        - $ref: >-
            #/components/parameters/rowFilter.work_provisions.work_order_status_label
        - $ref: '#/components/parameters/rowFilter.work_provisions.asset_id'
        - $ref: '#/components/parameters/rowFilter.work_provisions.asset_number'
        - $ref: '#/components/parameters/rowFilter.work_provisions.asset_name'
        - $ref: '#/components/parameters/rowFilter.work_provisions.site_id'
        - $ref: '#/components/parameters/rowFilter.work_provisions.site_code'
        - $ref: '#/components/parameters/rowFilter.work_provisions.site_name'
        - $ref: '#/components/parameters/rowFilter.work_provisions.vendor_id'
        - $ref: '#/components/parameters/rowFilter.work_provisions.vendor_name'
        - $ref: '#/components/parameters/rowFilter.work_provisions.contract_id'
        - $ref: '#/components/parameters/rowFilter.work_provisions.contract_number'
        - $ref: '#/components/parameters/rowFilter.work_provisions.contract_name'
        - $ref: '#/components/parameters/rowFilter.work_provisions.completed_at'
        - $ref: '#/components/parameters/rowFilter.work_provisions.period'
        - $ref: '#/components/parameters/rowFilter.work_provisions.closed_at'
        - $ref: '#/components/parameters/rowFilter.work_provisions.days_outstanding'
        - $ref: '#/components/parameters/rowFilter.work_provisions.basis'
        - $ref: '#/components/parameters/rowFilter.work_provisions.provision_amount'
        - $ref: '#/components/parameters/rowFilter.work_provisions.currency_code'
        - $ref: '#/components/parameters/rowFilter.work_provisions.pending_invoices'
        - $ref: '#/components/parameters/rowFilter.work_provisions.accepted_quotes'
        - $ref: '#/components/parameters/rowFilter.work_provisions.vendor_reference'
        - $ref: >-
            #/components/parameters/rowFilter.work_provisions.service_report_reference
        - $ref: '#/components/parameters/rowFilter.work_provisions.scope_of_work'
        - $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/work_provisions'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/work_provisions'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/work_provisions'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/work_provisions'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.work_provisions.engagement_id:
      in: query
      name: engagement_id
      required: false
      schema:
        type: string
    rowFilter.work_provisions.work_order_id:
      in: query
      name: work_order_id
      required: false
      schema:
        type: string
    rowFilter.work_provisions.work_order_number:
      in: query
      name: work_order_number
      required: false
      schema:
        type: string
    rowFilter.work_provisions.title:
      in: query
      name: title
      required: false
      schema:
        type: string
    rowFilter.work_provisions.work_order_status:
      in: query
      name: work_order_status
      required: false
      schema:
        type: string
    rowFilter.work_provisions.work_order_status_label:
      in: query
      name: work_order_status_label
      required: false
      schema:
        type: string
    rowFilter.work_provisions.asset_id:
      in: query
      name: asset_id
      required: false
      schema:
        type: string
    rowFilter.work_provisions.asset_number:
      in: query
      name: asset_number
      required: false
      schema:
        type: string
    rowFilter.work_provisions.asset_name:
      in: query
      name: asset_name
      required: false
      schema:
        type: string
    rowFilter.work_provisions.site_id:
      in: query
      name: site_id
      required: false
      schema:
        type: string
    rowFilter.work_provisions.site_code:
      in: query
      name: site_code
      required: false
      schema:
        type: string
    rowFilter.work_provisions.site_name:
      in: query
      name: site_name
      required: false
      schema:
        type: string
    rowFilter.work_provisions.vendor_id:
      in: query
      name: vendor_id
      required: false
      schema:
        type: string
    rowFilter.work_provisions.vendor_name:
      in: query
      name: vendor_name
      required: false
      schema:
        type: string
    rowFilter.work_provisions.contract_id:
      in: query
      name: contract_id
      required: false
      schema:
        type: string
    rowFilter.work_provisions.contract_number:
      in: query
      name: contract_number
      required: false
      schema:
        type: string
    rowFilter.work_provisions.contract_name:
      in: query
      name: contract_name
      required: false
      schema:
        type: string
    rowFilter.work_provisions.completed_at:
      in: query
      name: completed_at
      required: false
      schema:
        type: string
    rowFilter.work_provisions.period:
      in: query
      name: period
      required: false
      schema:
        type: string
    rowFilter.work_provisions.closed_at:
      in: query
      name: closed_at
      required: false
      schema:
        type: string
    rowFilter.work_provisions.days_outstanding:
      in: query
      name: days_outstanding
      required: false
      schema:
        type: string
    rowFilter.work_provisions.basis:
      in: query
      name: basis
      required: false
      schema:
        type: string
    rowFilter.work_provisions.provision_amount:
      in: query
      name: provision_amount
      required: false
      schema:
        type: string
    rowFilter.work_provisions.currency_code:
      in: query
      name: currency_code
      required: false
      schema:
        type: string
    rowFilter.work_provisions.pending_invoices:
      in: query
      name: pending_invoices
      required: false
      schema:
        type: string
    rowFilter.work_provisions.accepted_quotes:
      in: query
      name: accepted_quotes
      required: false
      schema:
        type: string
    rowFilter.work_provisions.vendor_reference:
      in: query
      name: vendor_reference
      required: false
      schema:
        type: string
    rowFilter.work_provisions.service_report_reference:
      in: query
      name: service_report_reference
      required: false
      schema:
        type: string
    rowFilter.work_provisions.scope_of_work:
      in: query
      name: scope_of_work
      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:
    work_provisions:
      description: >-
        Work a supplier has finished and not yet billed us for, valued from the
        accepted claim or the
             accepted quote. One row per supplier per job — what a month-end accrual is written from.
      properties:
        accepted_quotes:
          format: bigint
          type: integer
        asset_id:
          description: >-
            Note:

            This is a Foreign Key to `asset_contracts.asset_id`.<fk
            table='asset_contracts' column='asset_id'/>
          format: uuid
          type: string
        asset_name:
          format: character varying
          maxLength: 250
          type: string
        asset_number:
          format: character varying
          maxLength: 80
          type: string
        basis:
          format: text
          type: string
        closed_at:
          format: timestamp with time zone
          type: string
        completed_at:
          format: timestamp with time zone
          type: string
        contract_id:
          description: >-
            Note:

            This is a Foreign Key to `contract_cover.contract_id`.<fk
            table='contract_cover' column='contract_id'/>
          format: uuid
          type: string
        contract_name:
          format: character varying
          maxLength: 200
          type: string
        contract_number:
          format: character varying
          maxLength: 60
          type: string
        currency_code:
          format: character varying
          maxLength: 3
          type: string
        days_outstanding:
          format: integer
          type: integer
        engagement_id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        pending_invoices:
          format: bigint
          type: integer
        period:
          format: date
          type: string
        provision_amount:
          format: numeric
          type: number
        scope_of_work:
          format: text
          type: string
        service_report_reference:
          format: character varying
          maxLength: 120
          type: string
        site_code:
          format: character varying
          maxLength: 50
          type: string
        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
        title:
          format: character varying
          maxLength: 250
          type: string
        vendor_id:
          description: >-
            Note:

            This is a Foreign Key to `assignable_vendors.id`.<fk
            table='assignable_vendors' column='id'/>
          format: uuid
          type: string
        vendor_name:
          format: character varying
          maxLength: 200
          type: string
        vendor_reference:
          format: character varying
          maxLength: 120
          type: string
        work_order_id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        work_order_number:
          format: character varying
          maxLength: 60
          type: string
        work_order_status:
          format: character varying
          maxLength: 60
          type: string
        work_order_status_label:
          format: character varying
          maxLength: 150
          type: string
      type: object

````