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

# What a supplier says is owed for one job — the parts, the hours and their account of the failure — whether the buyer…

> What a supplier says is owed for one job — the parts, the hours and their account of the failure — whether the buyer agreed it, and what has been paid against it. Accepting is what posts the job's vendor cost; paying costs the job nothing. Never a procure.supplier_invoices row: there is no order above a service job.



## OpenAPI

````yaml /api-reference/openapi.json get /vendor_invoices
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: 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: 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:
  /vendor_invoices:
    get:
      tags:
        - Work order execution
      summary: >-
        What a supplier says is owed for one job — the parts, the hours and
        their account of the failure — whether the buyer…
      description: >-
        What a supplier says is owed for one job — the parts, the hours and
        their account of the failure — whether the buyer agreed it, and what has
        been paid against it. Accepting is what posts the job's vendor cost;
        paying costs the job nothing. Never a procure.supplier_invoices row:
        there is no order above a service job.
      parameters:
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.id'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.work_order_id'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.work_order_number'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.work_order_title'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.vendor_id'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.vendor_name'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.invoice_number'
        - $ref: >-
            #/components/parameters/rowFilter.vendor_invoices.vendor_invoice_number
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.status'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.invoice_date'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.due_date'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.total_amount'
        - $ref: >-
            #/components/parameters/rowFilter.vendor_invoices.total_amount_currency_id
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.notes'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.submitted_at'
        - $ref: >-
            #/components/parameters/rowFilter.vendor_invoices.submitted_by_user_id
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.submitted_by'
        - $ref: >-
            #/components/parameters/rowFilter.vendor_invoices.submitted_by_supplier
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.decided_at'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.decided_by_user_id'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.decided_by'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.decision_note'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.line_count'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.billed_hours'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.quoted_cost'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.performed_by'
        - $ref: >-
            #/components/parameters/rowFilter.vendor_invoices.failure_description
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.failed_part_serial'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.failed_on'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.paid_amount'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.outstanding_amount'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.payment_status'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.last_paid_on'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.payment_count'
        - $ref: '#/components/parameters/rowFilter.vendor_invoices.created_at'
        - $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/vendor_invoices'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/vendor_invoices'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/vendor_invoices'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/vendor_invoices'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.vendor_invoices.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.work_order_id:
      in: query
      name: work_order_id
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.work_order_number:
      in: query
      name: work_order_number
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.work_order_title:
      in: query
      name: work_order_title
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.vendor_id:
      in: query
      name: vendor_id
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.vendor_name:
      in: query
      name: vendor_name
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.invoice_number:
      in: query
      name: invoice_number
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.vendor_invoice_number:
      in: query
      name: vendor_invoice_number
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.status:
      in: query
      name: status
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.invoice_date:
      in: query
      name: invoice_date
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.due_date:
      in: query
      name: due_date
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.total_amount:
      in: query
      name: total_amount
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.total_amount_currency_id:
      in: query
      name: total_amount_currency_id
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.notes:
      in: query
      name: notes
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.submitted_at:
      in: query
      name: submitted_at
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.submitted_by_user_id:
      in: query
      name: submitted_by_user_id
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.submitted_by:
      in: query
      name: submitted_by
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.submitted_by_supplier:
      in: query
      name: submitted_by_supplier
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.decided_at:
      in: query
      name: decided_at
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.decided_by_user_id:
      in: query
      name: decided_by_user_id
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.decided_by:
      in: query
      name: decided_by
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.decision_note:
      in: query
      name: decision_note
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.line_count:
      in: query
      name: line_count
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.billed_hours:
      in: query
      name: billed_hours
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.quoted_cost:
      in: query
      name: quoted_cost
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.performed_by:
      in: query
      name: performed_by
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.failure_description:
      in: query
      name: failure_description
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.failed_part_serial:
      in: query
      name: failed_part_serial
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.failed_on:
      in: query
      name: failed_on
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.paid_amount:
      in: query
      name: paid_amount
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.outstanding_amount:
      in: query
      name: outstanding_amount
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.payment_status:
      in: query
      name: payment_status
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.last_paid_on:
      in: query
      name: last_paid_on
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.payment_count:
      in: query
      name: payment_count
      required: false
      schema:
        type: string
    rowFilter.vendor_invoices.created_at:
      in: query
      name: created_at
      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:
    vendor_invoices:
      description: >-
        What a supplier says is owed for one job — the parts, the hours and
        their account of the failure — whether the buyer agreed it, and what has
        been paid against it. Accepting is what posts the job's vendor cost;
        paying costs the job nothing. Never a procure.supplier_invoices row:
        there is no order above a service job.
      properties:
        billed_hours:
          format: numeric
          type: number
        created_at:
          format: timestamp with time zone
          type: string
        decided_at:
          format: timestamp with time zone
          type: string
        decided_by:
          format: character varying
          maxLength: 200
          type: string
        decided_by_user_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_invite_candidates.id`.<fk
            table='capex_invite_candidates' column='id'/>
          format: uuid
          type: string
        decision_note:
          format: text
          type: string
        due_date:
          format: date
          type: string
        failed_on:
          format: date
          type: string
        failed_part_serial:
          format: character varying
          maxLength: 120
          type: string
        failure_description:
          format: text
          type: string
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        invoice_date:
          format: date
          type: string
        invoice_number:
          format: character varying
          maxLength: 60
          type: string
        last_paid_on:
          format: date
          type: string
        line_count:
          format: bigint
          type: integer
        notes:
          format: text
          type: string
        outstanding_amount:
          format: numeric
          type: number
        paid_amount:
          format: numeric
          type: number
        payment_count:
          format: bigint
          type: integer
        payment_status:
          format: text
          type: string
        performed_by:
          format: character varying
          maxLength: 120
          type: string
        quoted_cost:
          format: numeric
          type: number
        status:
          format: character varying
          maxLength: 20
          type: string
        submitted_at:
          format: timestamp with time zone
          type: string
        submitted_by:
          format: character varying
          maxLength: 200
          type: string
        submitted_by_supplier:
          format: boolean
          type: boolean
        submitted_by_user_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_invite_candidates.id`.<fk
            table='capex_invite_candidates' column='id'/>
          format: uuid
          type: string
        total_amount:
          format: numeric
          type: number
        total_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
        vendor_id:
          description: >-
            Note:

            This is a Foreign Key to `assignable_vendors.id`.<fk
            table='assignable_vendors' column='id'/>
          format: uuid
          type: string
        vendor_invoice_number:
          format: character varying
          maxLength: 120
          type: string
        vendor_name:
          format: character varying
          maxLength: 200
          type: string
        work_order_id:
          description: >-
            Note:

            This is a Foreign Key to
            `asset_maintenance_plans.next_work_order_id`.<fk
            table='asset_maintenance_plans' column='next_work_order_id'/>
          format: uuid
          type: string
        work_order_number:
          format: character varying
          maxLength: 60
          type: string
        work_order_title:
          format: character varying
          maxLength: 250
          type: string
      type: object

````

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