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

# Get customer invoices



## OpenAPI

````yaml get /v1/invoices/customers/{id}
openapi: 3.0.0
info:
  title: Invoices API
  version: 1.0.0
  description: API documentation for Invoices management package
servers: []
security:
  - bearerAuth: []
paths:
  /v1/invoices/customers/{id}:
    parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
    get:
      summary: Get customer invoices
      parameters:
        - in: query
          name: status
          schema:
            type: string
            enum:
              - draft
              - pending
              - paid
              - sent
              - overdue
        - in: query
          name: date_from
          schema:
            type: string
            format: date-time
        - in: query
          name: date_to
          schema:
            type: string
            format: date-time
        - in: query
          name: currency
          schema:
            type: string
            minLength: 3
            maxLength: 3
      responses:
        '200':
          description: Customer invoices
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerInvoices'
components:
  schemas:
    CustomerInvoices:
      type: object
      properties:
        customer_id:
          type: string
          format: uuid
        total_invoices:
          type: integer
        total_amount:
          type: number
        currency_breakdown:
          type: object
          additionalProperties:
            type: number
        invoices:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceSummary'
    InvoiceSummary:
      type: object
      properties:
        id:
          type: string
          format: uuid
        invoice_number:
          type: string
        status:
          type: string
          enum:
            - draft
            - pending
            - paid
            - sent
            - overdue
        customer_id:
          type: string
          format: uuid
        currency:
          type: string
          minLength: 3
          maxLength: 3
        total:
          type: number
        due_date:
          type: string
          format: date-time
        created_at:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````