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

# Search transaction postings

> Returns a paginated list of transaction postings with optional filtering.



## OpenAPI

````yaml get /v1/transaction-postings
openapi: 3.0.3
info:
  title: Ledger Client API
  version: 1.0.0
  description: API for ledger operations - parties, accounts, transactions
servers: []
security: []
tags:
  - name: Account Statements
    description: Retrieve account transaction history
  - name: Accounts
    description: Account management operations
  - name: Open Banking - Accounts
    description: PSD2 Account Information Service (AIS) - Account endpoints
  - name: Open Banking - Funds Confirmation
    description: PSD2 Confirmation of Funds Service (PIIS)
  - name: Open Banking - Payments
    description: PSD2 Payment Initiation Service (PIS)
  - name: Open Banking - Transactions
    description: PSD2 Account Information Service (AIS) - Transaction endpoints
  - name: Parties
    description: Party management operations
  - name: Payments
    description: Payment operations
  - name: Transaction Postings
    description: Retrieve transaction postings
  - name: Transactions
    description: Transaction execution operations
paths:
  /v1/transaction-postings:
    get:
      tags:
        - Transaction Postings
      summary: Search transaction postings
      description: Returns a paginated list of transaction postings with optional filtering
      parameters:
        - name: accountId
          in: query
          schema:
            description: Account identifier to filter by
            type: string
            example: world
            nullable: true
        - name: amountFrom
          in: query
          schema:
            description: Minimum amount in minor units (cents)
            multipleOf: 1
            minimum: 0
            exclusiveMinimum: true
            type: number
            example: 1000
            nullable: true
        - name: amountTo
          in: query
          schema:
            description: Maximum amount in minor units (cents)
            multipleOf: 1
            minimum: 0
            exclusiveMinimum: true
            type: number
            example: 100000
            nullable: true
        - name: creationDateFrom
          in: query
          schema:
            format: date-time
            description: Filter postings created after this date (inclusive)
            type: string
            example: '2024-01-01T00:00:00.000Z'
            nullable: true
        - name: creationDateTo
          in: query
          schema:
            format: date-time
            description: Filter postings created before this date (inclusive)
            type: string
            example: '2024-12-31T23:59:59.000Z'
            nullable: true
        - name: currency
          in: query
          schema:
            description: Currency code filter (ISO 4217)
            type: string
            example: EUR
            nullable: true
        - name: page
          in: query
          schema:
            format: int32
            description: Page number (0-based)
            minimum: 0
            type: integer
            example: 0
        - name: referenceId
          in: query
          schema:
            description: Reference identifier to filter by
            type: string
            example: REF-12345
            nullable: true
        - name: referenceSource
          in: query
          schema:
            description: Reference source to filter by
            type: object
            example: PAYMENT
            nullable: true
        - name: size
          in: query
          schema:
            format: int32
            description: Number of items per page (max 100)
            maximum: 100
            minimum: 1
            type: integer
            example: 20
        - name: sortBy
          in: query
          schema:
            description: Field name to sort by
            default: createdAt
            type: string
            example: createdAt
        - name: sortDirection
          in: query
          schema:
            description: Sort direction
            default: DESC
            type: object
      responses:
        '200':
          description: Paginated list of transaction postings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagedResponseTransactionPostingResponse'
        '400':
          description: >-
            Validation failed. See [Error Handling](/ledger/error-handling) for
            the response shape.
          content:
            application/problem+json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/ValidationProblem'
                  - $ref: '#/components/schemas/Problem'
        '500':
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
components:
  schemas:
    PagedResponseTransactionPostingResponse:
      description: Paginated response wrapper
      type: object
      properties:
        data:
          description: List of items for the current page
          type: array
          items:
            $ref: '#/components/schemas/TransactionPostingResponse'
        page:
          format: int32
          description: Current page number (0-based)
          type: integer
          example: 0
        size:
          format: int32
          description: Number of items per page
          type: integer
          example: 100
        totalPages:
          format: int32
          description: Total number of pages
          type: integer
          example: 5
    ValidationProblem:
      description: >-
        RFC 9457 problem details with a `violations` array describing each
        failed constraint.
      required:
        - status
        - title
        - instance
        - violations
      type: object
      properties:
        status:
          format: int32
          description: HTTP status code
          type: integer
          example: 400
        title:
          description: Short, human-readable summary of the problem type
          type: string
        instance:
          description: URI reference identifying this occurrence of the problem
          type: string
        violations:
          description: List of validation constraint violations
          type: array
          items:
            $ref: '#/components/schemas/Violation'
    Problem:
      description: >-
        RFC 9457 problem details. See [Error Handling](/ledger/error-handling)
        for the response shape.
      required:
        - status
        - title
        - instance
      type: object
      properties:
        status:
          format: int32
          description: HTTP status code
          type: integer
          example: 500
        title:
          description: Short, human-readable summary of the problem type
          type: string
        instance:
          description: URI reference identifying this occurrence of the problem
          type: string
        detail:
          description: >-
            Human-readable explanation specific to this occurrence of the
            problem
          type: string
          nullable: true
    TransactionPostingResponse:
      description: Transaction posting details
      type: object
      properties:
        id:
          format: uuid
          description: Unique posting identifier
          pattern: >-
            [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
          type: string
          example: 019bdb2a-960f-789d-8955-21720e6cdef0
        accountId:
          description: Account identifier (source or destination)
          type: string
          example: world
        amount:
          description: Amount in minor units (cents)
          type: integer
          example: 1000
        currency:
          description: Currency code
          type: string
          example: EUR
        details:
          description: Transaction details/description
          type: string
          example: 'Payment for invoice #12345'
        referenceId:
          description: Reference identifier from source system
          type: string
          example: REF-12345
        referenceSource:
          description: Source system that created the transaction
          type: string
          example: PAYMENT
        type:
          description: Type of posting
          type: string
          allOf:
            - $ref: '#/components/schemas/PostingType'
        direction:
          description: Posting direction (SOURCE or DESTINATION)
          type: string
          example: SOURCE
        createdAt:
          format: date-time
          description: Posting creation timestamp
          type: string
          example: '2024-01-15T10:30:00.542Z'
    Violation:
      description: Single validation constraint violation
      required:
        - field
        - in
        - message
      type: object
      properties:
        field:
          description: Name of the field that failed validation
          type: string
        in:
          description: Part of the HTTP request where the violation occurred
          enum:
            - query
            - path
            - header
            - form
            - body
          type: string
        message:
          description: Human-readable description of the violation
          type: string
    PostingType:
      description: Type of posting
      enum:
        - CREDIT_TRANSFER
        - FEES
      type: string

````