---
title: "List general ledger lines"
method: GET
path: "/public/v1/general_ledger/"
tags: ["Reporting"]
---

# List general ledger lines

`GET /public/v1/general_ledger/`

## Request

- Base URL: `https://api.dualentry.com`
- URL: `https://api.dualentry.com/public/v1/general_ledger/`
- Auth: none declared

Posted general-ledger entry lines for the organization, same columns as the `general_ledger` table in your data export. Ordered by entry id. Page with the opaque `cursor` / `next_cursor` pair; do not use offset. A walk includes lines already posted when you request the first page. Postings made after that show up when you omit `cursor` and start again.

## Query parameters

- `limit` integer: Number of rows to return (capped at 100)
- `cursor` string, nullable: Opaque cursor from a previous response's next_cursor. Omit for the first page.

## Response `200`

OK

- PublicGeneralLedgerPageOut
  - `items` PublicGeneralLedgerRowOut[], required
    - `line_id` string, required
    - `entry_id` integer, required
    - `transaction_id` integer, required
    - `transaction_record_id` integer, nullable
    - `offset_entry_id` integer, nullable
    - `account_id` integer, required
    - `account_code` string, nullable
    - `account_number` string, nullable
    - `account_name` string, nullable
    - `account_type` string, nullable
    - `account_category` string, nullable
    - `account_hierarchy_1` string, nullable
    - `account_hierarchy_2` string, nullable
    - `account_hierarchy_3` string, nullable
    - `account_hierarchy_4` string, nullable
    - `account_hierarchy_5` string, nullable
    - `company_id` integer, required
    - `company_name` string, nullable
    - `entity` string, nullable
    - `company_is_elimination` boolean, nullable
    - `transaction_type` string, nullable
    - `doc` string, nullable
    - `posting_date` string, date, nullable
    - `accounting_date` string, date, nullable
    - `transaction_date` string, date, nullable
    - `period` string, date, nullable
    - `name` string, nullable
    - `counterparty` string, nullable
    - `memo` string, nullable
    - `line_memo` string, nullable
    - `reference_number` string, nullable
    - `check_number` string, nullable
    - `offset_account_number` string, nullable
    - `offset_account_name` string, nullable
    - `offset_account_is_split` boolean, nullable
    - `currency_iso_4217_code` string, nullable
    - `base_currency` string, nullable
    - `entity_currency` string, nullable
    - `transaction_currency` string, nullable
    - `exchange_rate` string, nullable
    - `amount` string, nullable
    - `company_base_amount` string, nullable
    - `transaction_currency_amount` string, nullable
    - `direction` integer, nullable
    - `debit` string, nullable
    - `credit` string, nullable
    - `total` string, nullable
    - `customer_id` integer, nullable
    - `customer_name` string, nullable
    - `customer_unique_id` string, nullable
    - `vendor_id` integer, nullable
    - `vendor_name` string, nullable
    - `line_customer_id` integer, nullable
    - `line_customer_name` string, nullable
    - `line_customer_unique_id` string, nullable
    - `line_vendor_id` integer, nullable
    - `line_vendor_name` string, nullable
    - `classifications` string, nullable
    - `custom_fields` string, nullable
    - `created_date` string, date, nullable
    - `modified_date` string, date, nullable
    - `created_by` string, nullable
    - `last_approved_by` string, nullable
    - `last_approved_date` string, date, nullable
    - `ship_to_address_line1` string, nullable
    - `ship_to_address_line2` string, nullable
    - `ship_to_city` string, nullable
    - `ship_to_state` string, nullable
    - `ship_to_zip` string, nullable
    - `ship_to_country` string, nullable
    - `is_billable` boolean, nullable
    - `billable_customer_name` string, nullable
    - `billable_project_name` string, nullable
    - `billable_status` string, nullable
    - `billable_invoice_number` string, nullable
    - `billable_invoice_id` integer, nullable
    - `billable_source_company_name` string, nullable
    - `billable_ar_company_name` string, nullable
    - `intercompany_invoice_id` integer, nullable
    - `intercompany_invoice_number` string, nullable
    - `is_adjusting_entry` boolean, nullable
    - `is_intercompany` boolean, nullable
    - `eliminated` boolean, nullable
  - `next_cursor` string, nullable: Pass as cursor on the next request. Null when there are no more rows.

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `500`: Internal Server Error

## Changes

> 35 revisions in range; 1 not diffed.

- **2026-10-19** `d64e0fc1c56b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dualentry/apis/dualentry-public-api-2/changes/public/v1/general_ledger/get.md)

---

[API](https://skmtc.dev/dualentry/apis/dualentry-public-api-2.md) · [All operations](https://skmtc.dev/dualentry/apis/dualentry-public-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/dualentry/apis/dualentry-public-api-2/revisions/d64e0fc1c56b?raw)
