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

# Invoices

> Invoice history for an organization, newest first.



## OpenAPI

````yaml /openapi.json get /v1/orgs/{orgId}/invoices
openapi: 3.1.0
info:
  title: Korve API
  version: 0.1.0
  description: >-
    Typed control plane for deploying applications and explicitly provisioning
    their managed infrastructure.
servers:
  - url: https://api.korve.dev
security: []
paths:
  /v1/orgs/{orgId}/invoices:
    get:
      tags:
        - billing
      summary: Invoices
      description: Invoice history for an organization, newest first.
      operationId: billing.invoices
      parameters:
        - name: orgId
          in: path
          required: true
          schema:
            type: string
          description: The organization's id (UUID) or slug — either form is accepted.
      responses:
        '200':
          description: Issued invoices, newest first.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                      description: Opaque invoice id.
                    status:
                      type: string
                      description: Invoice state, e.g. "paid", "open", "void".
                    totalUsd:
                      type: number
                      description: Invoice total in USD.
                    periodStart:
                      type: string
                      format: date-time
                      description: Start of the billing period the invoice covers.
                    periodEnd:
                      type: string
                      format: date-time
                      description: End of the billing period the invoice covers.
                    createdAt:
                      type: string
                      format: date-time
                    hostedUrl:
                      type:
                        - string
                        - 'null'
                      description: Hosted invoice page, when one is available.
                  required:
                    - id
                    - status
                    - totalUsd
                    - periodStart
                    - periodEnd
                    - createdAt
                    - hostedUrl
        '502':
          description: Invoices are unavailable — try again.
      security:
        - apiKey: []
        - session: []
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: korve_api_key
    session:
      type: apiKey
      in: cookie
      name: korve.session_token

````