> ## Documentation Index
> Fetch the complete documentation index at: https://docs.voxo.co/llms.txt
> Use this file to discover all available pages before exploring further.

# List Partner Inventory

> Extensions (with phone and e911 details) across every account under the partner, as of a bill date



## OpenAPI

````yaml https://api.voxo.co/v2/docs/openapi.json get /v2/billing/history/partner-inventory
openapi: 3.1.0
info:
  title: VOXO API
  description: VOXO Communication Platform API
  version: 2.0.0
servers:
  - url: https://api.voxo.co
security:
  - bearerAuth: []
paths:
  /v2/billing/history/partner-inventory:
    get:
      tags:
        - Billing
      summary: List Partner Inventory
      description: >-
        Extensions (with phone and e911 details) across every account under the
        partner, as of a bill date
      parameters:
        - schema:
            type: number
            exclusiveMinimum: 0
          in: query
          name: tenantId
          required: true
          description: The partner's master tenant ID
        - schema:
            type: string
            minLength: 1
          in: query
          name: billDate
          required: true
          description: Bill date; extensions created before it are listed
        - schema:
            default: 1
            type: integer
            minimum: 0
            maximum: 1
          in: query
          name: paginated
          required: false
          description: 1 = paginated response, 0 = full list
        - schema:
            type: number
          in: query
          name: page
          required: false
          description: Page number
        - schema:
            type: number
          in: query
          name: recordsPerPage
          required: false
          description: Records per page
        - schema:
            type: string
            maxLength: 50
          in: query
          name: sortBy
          required: false
          description: Sort column
        - schema:
            type: string
            enum:
              - asc
              - desc
          in: query
          name: sortDirection
          required: false
          description: Sort direction
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  records:
                    type: array
                    items:
                      type: object
                      properties:
                        accountName:
                          anyOf:
                            - type: string
                            - type: 'null'
                        accountBillingCode:
                          anyOf:
                            - type: string
                            - type: 'null'
                        extensionName:
                          anyOf:
                            - type: string
                            - type: 'null'
                        extensionNumber:
                          anyOf:
                            - type: string
                            - type: 'null'
                        extensionAccountNumber:
                          anyOf:
                            - type: string
                            - type: 'null'
                        extensionCallerId:
                          anyOf:
                            - type: string
                            - type: 'null'
                        phoneMac:
                          anyOf:
                            - type: string
                            - type: 'null'
                        phoneName:
                          anyOf:
                            - type: string
                            - type: 'null'
                        phoneModel:
                          anyOf:
                            - type: string
                            - type: 'null'
                        e911Location:
                          anyOf:
                            - type: string
                            - type: 'null'
                      required:
                        - accountName
                        - accountBillingCode
                        - extensionName
                        - extensionNumber
                        - extensionAccountNumber
                        - extensionCallerId
                        - phoneMac
                        - phoneName
                        - phoneModel
                        - e911Location
                      additionalProperties: false
                  page:
                    type: number
                  maxPage:
                    type: number
                  totalRecords:
                    type: number
                required:
                  - records
                  - page
                  - maxPage
                  - totalRecords
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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