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

# Get Invoice

> Retrieve a single invoice for a connected account.



## OpenAPI

````yaml get /stripe/connect/accounts/{accountId}/invoices/{invoiceId}
openapi: 3.0.1
info:
  title: ChatDash API Documentation
  description: API Documentation for the ChatDash Server
  version: 2.0.0
servers:
  - url: https://api.chat-dash.com/v1/public
security: []
paths:
  /stripe/connect/accounts/{accountId}/invoices/{invoiceId}:
    get:
      tags:
        - Stripe Connect
      summary: Get Invoice
      description: Retrieve a single invoice for a connected account.
      parameters:
        - name: Authorization
          in: header
          required: true
          description: >-
            All requests to the ChatDash API must be validated with the agency
            API Key found on your agency profile
          schema:
            type: string
        - name: accountId
          in: path
          required: true
          description: The Stripe connected account ID
          schema:
            type: string
        - name: invoiceId
          in: path
          required: true
          description: The Stripe invoice ID
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: The invoice ID
                    example: in_1ABC123DEF456GHI
                  amount:
                    type: integer
                    description: Amount in smallest currency unit (e.g., cents for USD)
                    example: 10000
                  currency:
                    type: string
                    description: Three-letter ISO currency code
                    example: usd
                  status:
                    type: string
                    description: Invoice status
                    enum:
                      - draft
                      - open
                      - paid
                      - void
                      - uncollectible
                    example: paid
                  number:
                    type: string
                    nullable: true
                    description: Invoice number
                    example: GJXQAHMC-0001
                  customer:
                    type: object
                    properties:
                      id:
                        type: string
                        example: cus_ABC123XYZ
                      email:
                        type: string
                        example: customer@example.com
                      name:
                        type: string
                        example: John Doe
                  description:
                    type: string
                    description: Invoice description
                    example: ''
                  created:
                    type: integer
                    description: Unix timestamp of when the invoice was created
                    example: 1700000000
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: An unexpected error occurred

````