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

# List invoices

> Requires the `fleet:read` scope.



## OpenAPI

````yaml /api-reference/openapi.json get /invoices
openapi: 3.1.0
info:
  title: ChargeExpress Fleet API
  version: v1
  description: >-
    Manage your fleet’s drivers, vehicles, limits, charging and wallet, and
    receive webhooks.


    Scopes: `fleet:read` (Read the fleet, drivers, vehicles, sessions, wallet,
    invoices and events); `drivers:write` (Create, update, suspend and remove
    drivers); `vehicles:write` (Create, update and retire vehicles);
    `limits:write` (Change fleet and driver charging limits); `wallet:write`
    (Fund the wallet, pay usage invoices and set the low-balance alert);
    `webhooks:write` (Manage webhook endpoints and redeliver events).
servers:
  - url: https://partners.chargeexpressltd.com/api/public/v1
    description: Production
  - url: https://stage.partners.chargeexpressltd.com/api/public/v1
    description: Stage
security:
  - apiKey: []
paths:
  /invoices:
    get:
      tags:
        - Invoices
      summary: List invoices
      description: Requires the `fleet:read` scope.
      operationId: listInvoices
      parameters:
        - schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
          required: false
          name: limit
          in: query
        - schema:
            type: string
            maxLength: 200
          required: false
          name: cursor
          in: query
        - schema:
            type: string
            enum:
              - usage
              - purchase
          required: false
          name: kind
          in: query
        - schema:
            type: string
            enum:
              - paid
              - unpaid
          required: false
          name: status
          in: query
        - schema:
            type:
              - string
              - 'null'
          required: false
          name: from
          in: query
        - schema:
            type:
              - string
              - 'null'
          required: false
          name: to
          in: query
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoiceList'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The key lacks the scope this request needs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict with the current state
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - apiKey: []
components:
  schemas:
    InvoiceList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Invoice'
        has_more:
          type: boolean
        next_cursor:
          type:
            - string
            - 'null'
      required:
        - data
        - has_more
        - next_cursor
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - authentication_error
                - permission_error
                - invalid_request_error
                - rate_limit_error
                - api_error
            code:
              type: string
            message:
              type: string
            param:
              type: string
            request_id:
              type: string
          required:
            - type
            - code
            - message
            - request_id
      required:
        - error
    Invoice:
      type: object
      properties:
        object:
          type: string
          enum:
            - invoice
        kind:
          type: string
          enum:
            - usage
            - purchase
        id:
          type: string
        session_id:
          type: string
        funding_id:
          type: string
        charge_point_id:
          type:
            - string
            - 'null'
        invoice_number:
          type:
            - string
            - 'null'
        status:
          type: string
          enum:
            - paid
            - unpaid
        billed_kwh:
          type:
            - string
            - 'null'
          description: kWh billed
          example: '12.5000'
        unit_price:
          type: string
          description: GHS per kWh
          example: '125.50'
        amount:
          type:
            - string
            - 'null'
          description: GHS
          example: '125.50'
        amount_due:
          type: string
          description: GHS
          example: '125.50'
        currency:
          type: string
          enum:
            - GHS
        issued_at:
          type: string
          format: date-time
      required:
        - object
        - kind
        - id
        - invoice_number
        - status
        - billed_kwh
        - unit_price
        - amount
        - amount_due
        - currency
        - issued_at
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >-
        Your fleet API key, e.g. `Authorization: Bearer cxk_live_…`. Create keys
        in the fleet portal under Developers.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.