GET
/
api
/
external
/
v2
/
ledger_entries
/
{ledger_entry_id}
/
ledger_entry_lines
{
  "current_page": 1,
  "items": [
    {
      "credit": "0.00",
      "debit": "100.00",
      "id": 42,
      "label": "Employees - Jean Dupont / Salary May 2023",
      "ledger_account_id": 987
    },
    {
      "credit": "0.00",
      "debit": "100.00",
      "id": 42,
      "label": "Employees - Jean Dupont / Salary May 2023",
      "ledger_account_id": 987
    }
  ],
  "per_page": 40,
  "total_items": 12,
  "total_pages": 5
}

Path Parameters

ledger_entry_id
string
required

(Required) Existing Ledger Entry (id)

Example:

"22560077.537698045"

Query Parameters

page
string

Items are paginated, this is the current page which will be returned. The page index is starting at 1.

Example:

"1"

per_page
string

Items are paginated. By default, you get 20 items per page. You can specify another number of items per page.

Example:

"20"

filter
string

You can choose to filter items on specific fields. Available fields : ledger_account_id Available operators : lt, lteq, gt, gteq, eq, not_eq, in, not_in

Example:

"[{\"field\": \"ledger_account_id\", \"operator\": \"eq\", \"value\": \"42\"}]"

Response

200
application/json

Returns Ledger Entry lines of requested Ledger Entry

The response is of type object.