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

# List invoices



## OpenAPI

````yaml /api-reference/openapi.personal.json get /v1/orgs/{slug}/billing/invoices
openapi: 3.1.0
info:
  title: Personal token API
  description: User-scoped API for account and organization management.
  version: 0.1.0
servers:
  - url: https://api.microsandbox.dev
security:
  - bearer: []
paths:
  /v1/orgs/{slug}/billing/invoices:
    get:
      tags:
        - Billing
      summary: List invoices
      operationId: list_invoices
      parameters:
        - name: slug
          in: path
          description: Organization slug
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Invoice list
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Invoice'
        '401':
          description: Unauthorized
      security:
        - bearer: []
components:
  schemas:
    Invoice:
      type: object
      description: Invoice from the billing provider (Autumn/Stripe).
      required:
        - id
        - status
        - total_cents
        - currency
        - period_start
        - period_end
        - created_at
      properties:
        created_at:
          type: string
          format: date-time
        currency:
          type: string
        id:
          type: string
        invoice_url:
          type:
            - string
            - 'null'
        period_end:
          type: string
          format: date-time
        period_start:
          type: string
          format: date-time
        status:
          type: string
        total_cents:
          type: integer
          format: int64
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: >-
        Personal access token (msb_pat_…) or session JWT - the credential an
        agent acts with on a user's behalf.

````