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

# List persisted open Invoices and Bills

> Reads Range-owned Open items for this Ledger connection. Returns only open rows (remaining balance > 0 at last sync). Does not call QuickBooks.



## OpenAPI

````yaml /api-reference/platform-api.json get /v2/account-connections/bookkeeping/{connectionId}/open-items
openapi: 3.0.0
info:
  title: Range Platform API
  description: >-
    The Range Platform API for workspace management, counterparties, and
    operational tooling.
  version: 1.7.21
  contact: {}
servers:
  - url: https://api.range.org
    description: Range API Server
security:
  - Authorization: []
  - Authorization: []
tags:
  - name: Address Information
    description: Get information about a crypto address.
  - name: Transfer Enrichments
    description: Attach workspace-scoped notes and categories to transfers.
  - name: Counterparties
    description: Manage external entities, their addresses, bank accounts, and documents.
paths:
  /v2/account-connections/bookkeeping/{connectionId}/open-items:
    get:
      tags:
        - Account Connections
      summary: List persisted open Invoices and Bills
      description: >-
        Reads Range-owned Open items for this Ledger connection. Returns only
        open rows (remaining balance > 0 at last sync). Does not call
        QuickBooks.
      operationId: listOpenItems
      parameters:
        - name: connectionId
          required: true
          in: path
          schema:
            type: string
        - name: cursor
          required: false
          in: query
          description: Opaque cursor returned in meta.next_cursor of a previous response.
          schema:
            type: string
        - name: size
          required: false
          in: query
          schema:
            minimum: 1
            maximum: 100
            default: 50
            example: 50
            type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListOpenItemsResponseDto'
components:
  schemas:
    ListOpenItemsResponseDto:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/OpenItemDto'
        meta:
          $ref: '#/components/schemas/CursorMetaDto'
      required:
        - items
        - meta
    OpenItemDto:
      type: object
      properties:
        id:
          type: string
          description: Range identity minted on first persist. Used for GET by id.
          format: uuid
        kind:
          type: string
          enum:
            - invoice
            - bill
        status:
          type: string
          enum:
            - open
            - closed
        external_id:
          type: string
          description: Provider document id (QuickBooks Invoice/Bill Id, …).
        contact_external_id:
          type: string
          description: >-
            Ledger contact id (provider customer/vendor id). Join to the
            bookkeeping counterparties preview `external_id` — not a Range
            counterparty FK.
        contact_name:
          type: string
          nullable: true
        txn_date:
          type: string
          description: Document date (YYYY-MM-DD).
        due_date:
          type: string
          nullable: true
          description: Due date (YYYY-MM-DD). Overdue is still open.
        currency_code:
          type: string
          description: ISO 4217 document currency, not the books home currency.
        remaining_balance:
          type: string
          description: Remaining open amount in document currency.
        original_total:
          type: string
          description: Original document total in document currency.
        memo:
          type: string
          nullable: true
        doc_number:
          type: string
          nullable: true
      required:
        - id
        - kind
        - status
        - external_id
        - contact_external_id
        - txn_date
        - currency_code
        - remaining_balance
        - original_total
    CursorMetaDto:
      type: object
      properties:
        next_cursor:
          type: string
          nullable: true
          description: >-
            Opaque string cursor pointing to the next page of results. null if
            there is no next page.
          example: eyJpZCI6IjkxeFFlV3Z...
        previous_cursor:
          type: string
          nullable: true
          description: >-
            Opaque string cursor pointing to the previous page of results. null
            if there is no previous page.
          example: eyJpZCI6IjkxeFFlV3Z...
        first_page_cursor:
          type: string
          description: >-
            Opaque string cursor pointing to the very first page in the entire
            dataset with respect to the current filter.
          example: eyJpZCI6IjkxeFFlV3Z...
        last_page_cursor:
          type: string
          nullable: true
          description: >-
            Opaque string cursor pointing to the very last page in the entire
            dataset with respect to the current filter.
          example: eyJpZCI6IjkxeFFlV3Z...
        total_count:
          type: number
          nullable: true
          description: Total number of results.
          example: 100
        page_number:
          type: number
          description: Current page number.
          example: 1
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Authorization method required to allow user to access the api endpoints.

````