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

# List Invoices



## OpenAPI

````yaml GET /invoices
openapi: 3.0.3
info:
  title: Atlas API
  description: >
    Processor-agnostic payment orchestration API with Basis Theory for PCI-free
    tokenization.


    ## Authentication


    All API requests require authentication using an API key in the
    `Authorization` header:

    ```

    Authorization: Bearer sk_test_your_api_key

    ```


    ## Payment Methods


    Atlas supports multiple payment methods:

    - **Card**: Credit and debit cards tokenized via Basis Theory

    - **Apple Pay**: Native Apple Pay integration

    - **Google Pay**: Native Google Pay integration

    - **Bank Account (ACH)**: US bank account payments


    ## Environments


    - **Test**: Use `sk_test_` prefixed keys

    - **Live**: Use `sk_live_` prefixed keys
  version: 1.0.0
  contact:
    name: Atlas Support
    url: https://atlas.co/support
servers:
  - url: https://api.atlas.co/functions/v1
    description: Production API
security:
  - ApiKeyAuth: []
tags:
  - name: Sessions
    description: Payment session management
  - name: Payments
    description: Payment confirmation and processing
  - name: Customers
    description: Customer management
  - name: Products
    description: Product catalog management
  - name: Prices
    description: Price configuration
  - name: Subscriptions
    description: Subscription billing
  - name: Invoices
    description: Invoice management
  - name: Coupons
    description: Discount coupons
  - name: Usage Records
    description: Metered billing usage
  - name: Checkout
    description: Hosted checkout pages
  - name: Portal
    description: Customer self-service portal
  - name: Bank Accounts
    description: ACH bank account management
  - name: Identity Vault
    description: PII tokenization and storage
  - name: KYC
    description: Identity verification
  - name: Ledger
    description: Double-entry ledger accounting
  - name: 3D Secure
    description: 3DS authentication
  - name: Network Tokens
    description: Network token management
  - name: Apple Pay
    description: Apple Pay integration
paths:
  /invoices:
    get:
      tags:
        - Invoices
      summary: List Invoices
      operationId: listInvoices
      parameters:
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/Offset'
        - name: customer
          in: query
          schema:
            type: string
        - name: subscription
          in: query
          schema:
            type: string
        - name: status
          in: query
          schema:
            $ref: '#/components/schemas/InvoiceStatus'
      responses:
        '200':
          description: Invoice list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoiceList'
components:
  parameters:
    Limit:
      name: limit
      in: query
      schema:
        type: integer
        default: 10
        maximum: 100
    Offset:
      name: offset
      in: query
      schema:
        type: integer
        default: 0
  schemas:
    InvoiceStatus:
      type: string
      enum:
        - draft
        - open
        - paid
        - void
        - uncollectible
        - past_due
    InvoiceList:
      type: object
      properties:
        object:
          type: string
          enum:
            - list
        data:
          type: array
          items:
            $ref: '#/components/schemas/Invoice'
        has_more:
          type: boolean
        total_count:
          type: integer
    Invoice:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
          enum:
            - invoice
        number:
          type: string
        customer:
          type: string
        subscription:
          type: string
        status:
          $ref: '#/components/schemas/InvoiceStatus'
        collection_method:
          type: string
        currency:
          type: string
        amount_due:
          type: integer
        amount_paid:
          type: integer
        amount_remaining:
          type: integer
        subtotal:
          type: integer
        tax:
          type: integer
        total:
          type: integer
        description:
          type: string
        due_date:
          type: integer
        period_start:
          type: integer
        period_end:
          type: integer
        lines:
          type: object
          properties:
            object:
              type: string
              enum:
                - list
            data:
              type: array
              items:
                $ref: '#/components/schemas/InvoiceLineItem'
        paid:
          type: boolean
        paid_at:
          type: integer
        voided_at:
          type: integer
        hosted_invoice_url:
          type: string
        metadata:
          type: object
          additionalProperties:
            type: string
        created:
          type: integer
    InvoiceLineItem:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
          enum:
            - line_item
        amount:
          type: integer
        currency:
          type: string
        description:
          type: string
        price:
          type: object
          properties:
            id:
              type: string
            product:
              type: string
        quantity:
          type: integer
        period:
          type: object
          properties:
            start:
              type: integer
            end:
              type: integer
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: API key (sk_test_* or sk_live_*)

````