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

# List invoices

> Developer API operation for GET /dev/v1/invoices.



## OpenAPI

````yaml /openapi.json get /dev/v1/invoices
openapi: 3.0.3
info:
  title: Shoppex Developer API
  description: Mintlify-compatible Developer API reference for Shoppex.
  version: 1.0.0
  contact:
    name: Shoppex Support
    email: support@shoppex.io
    url: https://shoppex.io
servers:
  - url: https://api.shoppex.io
security:
  - bearerAuth: []
paths:
  /dev/v1/invoices:
    get:
      tags:
        - Invoices
      summary: List invoices
      description: Developer API operation for GET /dev/v1/invoices.
      operationId: getDevV1Invoices
      parameters:
        - name: cursor
          in: query
          required: false
          schema:
            type: string
        - name: limit
          in: query
          required: false
          schema:
            type: string
        - name: status
          in: query
          required: false
          schema:
            type: string
        - name: customerEmail
          in: query
          required: false
          schema:
            type: string
        - name: search
          in: query
          required: false
          schema:
            type: string
        - name: filters
          in: query
          required: false
          schema:
            type: string
        - name: sorts
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      additionalProperties: true
                  pagination:
                    type: object
                    properties:
                      next_cursor:
                        type: string
                        nullable: true
                      has_more:
                        type: boolean
                example:
                  data:
                    - id: inv_1
                      uniqid: 11111111-1111-4111-8111-111111111111
                      type: PRODUCT
                      subtype: null
                      origin: API
                      shop_id: shop_1
                      customer_id: cus_1
                      affiliate_link_id: link_1
                      affiliate_customer_id: cus_aff_1
                      affiliate_code: creator123
                      affiliate_discount_amount: 3.5
                      currency: USD
                      total: 29.99
                      total_display: 29.99
                      subtotal: 33.49
                      discount: 3.5
                      discount_display: 3.5
                      balance_paid_amount: 0
                      customer_email: buyer@example.com
                      custom_fields: null
                      is_developer_invoice: false
                      developer_title: null
                      status: COMPLETED
                      payment_status: COMPLETED
                      gateway: STRIPE
                      flow_type: PROVIDER_SESSION
                      provider_reference: pi_123
                      provider_reference_type: PAYMENT_INTENT
                      items:
                        - product_id: prod_1
                          product_title: Starter Pack
                          product_type: DIGITAL
                          variant_title: Gold
                          quantity: 1
                          unit_price: 29.99
                          total: 29.99
                          delivered_items: null
                      created_at: 1711953600
                      updated_at: 1711953900
                  pagination:
                    next_cursor: null
                    has_more: false
      deprecated: false
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: Use your Shoppex API key in the Authorization header.

````