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

# List Invoices

> List monthly invoices.

Returns paginated list of monthly invoices with links to
Stripe-hosted invoice pages.

**Query Parameters:**
- `limit`: Number of invoices (1-100, default 10)

**Requirements:**
- Read permission

**Example:**
```python
response = await client.get("/v1/organizations/billing/invoices?limit=10")
for invoice in response["invoices"]:
    print(f"{invoice['billing_month']}: ${invoice['amount_paid']/100}")
```



## OpenAPI

````yaml get /v1/organizations/billing/invoices
openapi: 3.1.0
info:
  title: Mixpeek API
  description: >-
    This is the Mixpeek API, providing access to various endpoints for data
    processing and retrieval.
  termsOfService: https://mixpeek.com/terms
  contact:
    name: Mixpeek Support
    url: https://mixpeek.com/contact
    email: info@mixpeek.com
  version: '0.82'
servers:
  - url: https://api.mixpeek.com
    description: Production
security: []
paths:
  /v1/organizations/billing/invoices:
    get:
      tags:
        - Organization Billing
      summary: List Invoices
      description: >-
        List monthly invoices.


        Returns paginated list of monthly invoices with links to

        Stripe-hosted invoice pages.


        **Query Parameters:**

        - `limit`: Number of invoices (1-100, default 10)


        **Requirements:**

        - Read permission


        **Example:**

        ```python

        response = await
        client.get("/v1/organizations/billing/invoices?limit=10")

        for invoice in response["invoices"]:
            print(f"{invoice['billing_month']}: ${invoice['amount_paid']/100}")
        ```
      operationId: list_invoices_v1_organizations_billing_invoices_get
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Number of invoices to return
            default: 10
            title: Limit
          description: Number of invoices to return
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoiceListResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    InvoiceListResponse:
      properties:
        invoices:
          items:
            $ref: '#/components/schemas/InvoiceInfo'
          type: array
          title: Invoices
          description: List of invoices
        total:
          type: integer
          title: Total
          description: Total number of invoices
        has_more:
          type: boolean
          title: Has More
          description: Whether there are more invoices
      type: object
      required:
        - total
        - has_more
      title: InvoiceListResponse
      description: Response with list of invoices.
    ErrorResponse:
      properties:
        success:
          type: boolean
          title: Success
          description: Always false for error responses
          default: false
        status:
          type: integer
          title: Status
          description: HTTP status code for this error
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: Error details payload
      type: object
      required:
        - status
        - error
      title: ErrorResponse
      description: Error response model.
      examples:
        - error:
            details:
              id: ns_123
              resource: namespace
            message: Namespace not found
            type: NotFoundError
          status: 404
          success: false
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    InvoiceInfo:
      properties:
        invoice_id:
          type: string
          title: Invoice Id
          description: Stripe Invoice ID
          examples:
            - in_1ABC2DEF3GHI
        invoice_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Invoice Url
          description: Stripe-hosted invoice URL (None if not yet finalized)
          examples:
            - https://invoice.stripe.com/i/inv_1ABC2DEF3GHI
        invoice_pdf:
          anyOf:
            - type: string
            - type: 'null'
          title: Invoice Pdf
          description: PDF download URL (None if not yet finalized)
          examples:
            - https://invoice.stripe.com/i/inv_1ABC2DEF3GHI/pdf
        amount_due:
          type: integer
          title: Amount Due
          description: Amount due in cents
          examples:
            - 2345
        amount_paid:
          type: integer
          title: Amount Paid
          description: Amount paid in cents
          examples:
            - 2345
        status:
          type: string
          title: Status
          description: Invoice status
          examples:
            - paid
            - open
            - void
            - uncollectible
        billing_month:
          type: string
          title: Billing Month
          description: Billing month (YYYY-MM)
          examples:
            - 2025-11
        total_credits:
          type: integer
          title: Total Credits
          description: Total credits billed
          examples:
            - 23450
        created:
          type: string
          format: date-time
          title: Created
          description: When invoice was created
        paid_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Paid At
          description: When invoice was paid
      type: object
      required:
        - invoice_id
        - amount_due
        - amount_paid
        - status
        - billing_month
        - total_credits
        - created
      title: InvoiceInfo
      description: Information about a monthly invoice.
    ErrorDetail:
      properties:
        message:
          type: string
          title: Message
          description: Human-readable error message
        type:
          type: string
          title: Type
          description: Stable error type identifier (machine-readable)
        code:
          anyOf:
            - type: string
            - type: 'null'
          title: Code
          description: >-
            Fine-grained error code for programmatic handling (e.g.,
            namespace_name_taken, feature_extractor_not_found). Present only
            when consumers may need to branch on a specific error condition.
        details:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Details
          description: >-
            Optional structured details to help debugging (validation errors,
            IDs, etc.)
      type: object
      required:
        - message
        - type
      title: ErrorDetail
      description: Error detail model.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````