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

# Get Company Billing

> Per-tab billing breakdown (agent costs, module run costs, GHL plugin charges, Stripe invoices). Pass either a single `date` (interpreted as a calendar month) or a `start_date`/`end_date` range. Date strings use the format `YYYY-MM-DDTHH:MM:SS.sssZ`.



## OpenAPI

````yaml GET /settings/billing/
openapi: 3.1.0
info:
  title: Outbox AI API
  description: API for managing AI agents (chatbots and voicebots) on the Outbox platform
  version: 1.0.0
servers:
  - url: https://api.getoutbox.ai
security: []
paths:
  /settings/billing/:
    get:
      tags:
        - settings
      summary: Get Company Billing
      description: >-
        Per-tab billing breakdown (agent costs, module run costs, GHL plugin
        charges, Stripe invoices). Pass either a single `date` (interpreted as a
        calendar month) or a `start_date`/`end_date` range. Date strings use the
        format `YYYY-MM-DDTHH:MM:SS.sssZ`.
      operationId: settings_billing_retrieve
      parameters:
        - in: query
          name: date
          schema:
            type: string
            format: date-time
          description: >-
            Anchor date for current-month billing. Mutually exclusive with
            `start_date`/`end_date`.
        - in: query
          name: end_date
          schema:
            type: string
            format: date-time
        - in: query
          name: page
          schema:
            type: integer
            default: 1
        - in: query
          name: start_date
          schema:
            type: string
            format: date-time
        - in: query
          name: tab
          schema:
            type: string
            default: agent
          description: 'Tab to render: `agent`, `module`, `plugin`, `invoices`.'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyBillingResponse'
          description: ''
        '403':
          description: >-
            Billing is hidden for this user/company; only the `invoices` tab is
            allowed.
      security:
        - jwtAuth: []
components:
  schemas:
    CompanyBillingResponse:
      type: object
      properties:
        total:
          type: number
          format: double
          description: Aggregated cost for the selected tab + date range.
        billing:
          type: array
          items:
            type: object
            additionalProperties: {}
          description: >-
            Tab-specific row shape (agent threads, module runs, plugin charges,
            or Stripe invoices).
      required:
        - billing
        - total
  securitySchemes:
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````