---
title: "Get debt line ledger transactions"
method: GET
path: "/debt-lines/{id}/transactions"
tags: ["Debt Lines"]
---

# Get debt line ledger transactions

`GET /debt-lines/{id}/transactions`

## Request

- Base URL: `https://core.sivo.com`
- URL: `https://core.sivo.com/debt-lines/{id}/transactions`
- Auth: one of:
  - API key in header `Authorization`
  - OAuth 2
    - Authorization code: `https://dashboard.sivo.com/oauth/authorize`
    - Client credentials
    - Token URL: `https://core.sivo.com/oauth/token`
- TypeScript: <https://skmtc.dev/sivo/apis/sivo-advance-api/docs/debt-lines/:id/transactions/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required: An object id with prefix

## Query parameters

- `ledger` 'principal' | 'accrued' | 'fees' | 'collateral': filter by type of ledger
- `start` string, date: filter by start date (YYYY-MM-DD)

## Response `200`

Successful operation

- object: List of items
  - `data` object[], required
    - `date` string, date, required: date of the transaction
    - `settled_at` string, date-time: date and time when the transaction was settled
    - `created_at` string, date-time, required: date and time when the transaction was created
    - `id` string, required: unique identifier of the ledger entry
    - `currency` string, required: currency of the transaction
    - `ledger` 'principal' | 'accrued' | 'fees' | 'collateral', required: type of ledger
    - `amount` integer, required: amount of the ledger entry
    - `amount_usd` integer, required: amount in USD, at the current fx rate
    - `type` 'draw' | 'pledge' | 'pay' | 'due' | 'transfer' | 'fee' | 'adjustment' | 'reversal' | 'deposit' | 'withdraw', required: type of activity that triggered this transaction
    - `status` 'pending' | 'settled' | 'canceled', required: status of the ledger entry
    - `description` string, required: description of the transaction
    - `transaction_id` string, required: unique identifier of the ledger transaction
    - `account_id` string, required: unique identifier of the ledger account
    - `terms_id` string, required: unique identifier of the debt line terms
    - `debt_line_id` string, required: unique identifier of the debt line

## Changes

- **2026-11-03** `4bbab9699612`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sivo/apis/sivo-advance-api/changes/debt-lines/:id/transactions/get.md)

---

[API](https://skmtc.dev/sivo/apis/sivo-advance-api.md) - [All operations](https://skmtc.dev/sivo/apis/sivo-advance-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sivo/apis/sivo-advance-api/revisions/4bbab9699612?raw)
