---
title: "List ledger transaction lines"
method: GET
path: "/v1/ledger-transaction-lines"
tags: ["v1 - Ledger Transactions"]
---

# List ledger transaction lines

`GET /v1/ledger-transaction-lines`

## Request

- Base URL: `https://light.inc` (the document declares no server; this is the origin it was published from)
- URL: `https://light.inc/v1/ledger-transaction-lines`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer

Returns a paginated list of ledger transaction lines

## Query parameters

- `sort` string: Sort string in the format `field:direction`. To provide multiple sort fields, separate them with commas. Available directions: `asc`, `desc`. Available fields: `accountingDocumentNumber`, `transactionSequenceId`, `documentSequenceId`, `documentType`, `accountCode`, `accountLabel`, `postingDate`, `accountType`, `taxTagLabel`, `createdAt`.
- `filter` string: Filter string in the format `field:operator:value`. To provide multiple filters, separate them with commas. Available operators: `eq`, `ne`, `in`, `not_in`, `gt`, `gte`, `lt`, `lte`. - For `in` and `not_in` operators, provide multiple values separated by the pipe character (`|`). Available fields: `accountCode`, `accountId`, `accountType`, `accDocId`, `businessPartnerId`, `businessPartnerName`, `companyEntityCode`, `companyEntityId`, `createdAt`, `customPropertyValueId`, `documentSequenceId`, `documentType`, `eliminationOffset`, `groupAmount`, `groupCurrency`, `id`, `ledgerName`, `lineType`, `localAmount`, `localCurrency`, `postingDate`, `taxReportingDate`, `taxTagLabel`, `transactionCurrency`, `transactionId`, `transactionSequenceId`. These fields accept only a subset of the operators: `customPropertyValueId` (`eq`, `in`).
- `limit` integer
- `offset` integer
- `cursor` string
- `includeCustomProperties` boolean
- `includeMaxLineAmount` boolean

## Response `default`

default response

- ExternalGetLedgerTransactionLinesWithMaxAmountResponseV1Model
  - `maxTransactionAmount` integer, nullable: Maximum line amount in transaction currency across all records. This field is deprecated and will be removed, please fetch all lines and compute this locally if needed
  - `records` ExternalLedgerTransactionLineV1Model[]: List of records for the current page
    - `id` string, uuid
    - `ledgerTransactionId` string, uuid
    - `reversedLedgerTransactionId` string, uuid, nullable: Only reversal lines carry the original ledger transaction ID; original lines have null.
    - `reversedLedgerTransactionLineId` string, uuid, nullable: Only reversal lines carry the original ledger transaction line ID; original lines have null.
    - `transactionSequenceId` string
    - `companyId` string, uuid
    - `companyEntityId` string, uuid
    - `companyEntityCode` string
    - `companyEntityName` string
    - `ledgerName` 'PRIMARY' | 'ELIMINATION': ⚠️ This enum is not exhaustive; new values may be added in the future.
    - `accountId` string, uuid
    - `accountCode` integer
    - `accountLabel` string
    - `accountType` 'BANK' | 'CARD' | 'CASH_AND_EQUIVALENTS' | 'ACCOUNTS_RECEIVABLE' | 'INVENTORY' | 'CORPORATE_TAX_RECEIVABLE' | 'OTHER_CURRENT_ASSET' | 'INTANGIBLE_NON_CURRENT_ASSET' | 'TANGIBLE_NON_CURRENT_ASSET' | 'FINANCIAL_NON_CURRENT_ASSET' | 'CORPORATE_TAX_DEFERRED_ASSET' | 'OTHER_NON_CURRENT_ASSET' | 'ACCOUNTS_PAYABLE' | 'OVERDRAFT_FACILITY' | 'CORPORATE_TAX_PAYABLE' | 'OTHER_CURRENT_LIABILITY' | 'LONG_TERM_LOAN' | 'CORPORATE_TAX_DEFERRED_LIABILITY' | 'OTHER_LONG_TERM_LIABILITY' | 'CONTRIBUTED_CAPITAL' | 'RETAINED_EARNINGS' | 'ACCUMULATED_OTHER_COMPREHENSIVE_INCOME' | 'OTHER_EQUITY' | 'COST_OF_SALES' | 'DISTRIBUTION_COST' | 'GENERAL_AND_ADMINISTRATIVE_EXPENSE' | 'PERSONNEL_COST' | 'OTHER_OPERATING_EXPENSE' | 'INCOME_TAX' | 'DEPRECIATION_AND_AMORTIZATION' | 'NON_OPERATING_EXPENSE' | 'INTEREST_EXPENSE' | 'EXCHANGE_RATE_LOSS_REALIZED' | 'EXCHANGE_RATE_LOSS_UNREALIZED' | 'OTHER_FINANCIAL_EXPENSE' | 'REVENUE' | 'DISCOUNT' | 'NON_OPERATING_INCOME' | 'INTEREST_INCOME' | 'EXCHANGE_RATE_GAIN_REALIZED' | 'EXCHANGE_RATE_GAIN_UNREALIZED' | 'OTHER_FINANCIAL_INCOME': ⚠️ This enum is not exhaustive; new values may be added in the future.
    - `accountingDocumentLineId` string, uuid, nullable
    - `documentSequenceId` string
    - `accountingDocumentId` string, uuid
    - `accountingDocumentNumber` string, nullable
    - `documentType` 'AP' | 'AR' | 'BP' | 'CC' | 'CN' | 'CT' | 'DE' | 'FX' | 'JE' | 'YC': ⚠️ This enum is not exhaustive; new values may be added in the future.
    - `type` 'DISCOUNT' | 'MAIN' | 'OFFSET' | 'ROUNDING' | 'TAX' | 'WITHHOLDING': ⚠️ This enum is not exhaustive; new values may be added in the future.
    - `postingDate` string, date
    - `valuationDate` string, date
    - `description` string, nullable
    - `documentDescription` string, nullable
    - `amounts` ExternalLedgerTransactionLineAmountsV1Model
      - `dcSign` 'D' | 'C': ⚠️ This enum is not exhaustive; new values may be added in the future.
      - `transactionAmount` integer, nullable
      - `transactionAmountInMajors` number, nullable
      - `signedTransactionAmount` integer, nullable
      - `transactionCurrency` string, nullable
      - `localAmount` integer
      - `localAmountInMajors` number
      - `signedLocalAmount` integer
      - `localCurrency` string
      - `groupAmount` integer
      - `groupAmountInMajors` number
      - `signedGroupAmount` integer
      - `groupCurrency` string
      - `debit` boolean
      - `credit` boolean
    - `taxId` string, uuid, nullable
    - `taxTagLabel` string, nullable
    - `taxCode` string, nullable
    - `businessPartnerName` string, nullable
    - `businessPartnerId` string, uuid, nullable
    - `costCenterId` string, uuid, nullable
    - `accruedLedgerTransactionLineId` string, uuid, nullable
    - `ledgerTransactionType` 'DEFAULT' | 'AMORTIZATION' | 'FX' | 'CTA' | 'BANK_CLEARING': ⚠️ This enum is not exhaustive; new values may be added in the future.
    - `isAmortized` boolean
    - `accountingReleaseStartDate` string, date, nullable
    - `accountingReleaseEndDate` string, date, nullable
    - `createdAt` string, date-time
    - `createdBy` string, uuid, nullable
    - `customProperties` ExternalCustomPropertyV1Model[], nullable
      - `groupId` string, uuid: ID of the custom property group
      - `groupInternalName` string: Internal name of the custom property group
      - `values` ExternalCustomPropertyValueV1Model[]: List of values. Note that this will be a single value unless the group input type supports multiple values
        - `id` string, uuid: Unique identifier for the object
        - `groupId` string, uuid: ID of the custom property group
        - `groupInternalName` string: Internal name of the custom property group
        - `companyId` string, uuid: ID of the company
        - `internalName` string: Internal name of the custom property value
        - `label` string: Label of the custom property value
        - `context` string, nullable: Context/description of the custom property value
        - `createdAt` string, date-time: Timestamp when the custom property value was created
        - `updatedAt` string, date-time: Timestamp when the custom property value was last updated
  - `hasMore` boolean: Boolean flag indicating if there are more records available
  - `total` integer, nullable: Total number of records (only for offset pagination). This field is not guaranteed to be returned and only available for offset pagination, please do not rely on it and migrate to cursor pagination.
  - `nextCursor` string, nullable: Cursor for fetching the next page (only for cursor pagination)
  - `prevCursor` string, nullable: Cursor for fetching the previous page (only for cursor pagination)

---

[API](https://skmtc.dev/light/apis/light-api.md) - [All operations](https://skmtc.dev/light/apis/light-api/llms.txt) - [OpenAPI document](https://skmtc.dev/light/apis/light-api/revisions/84f51306f648?raw)
