---
title: "Get Gl Journal Entry Related"
method: GET
path: "/companies/{company_id}/gl/journal-entries/{entry_id}/related"
tags: ["gl"]
---

# Get Gl Journal Entry Related

`GET /companies/{company_id}/gl/journal-entries/{entry_id}/related`

## Request

- Base URL: `https://app.zeno-works.ch` (the document declares no server; this is the origin it was published from)
- URL: `https://app.zeno-works.ch/companies/{company_id}/gl/journal-entries/{entry_id}/related`
- Auth: none declared

Records that belong with this entry — the bank transaction behind it, the
document it books, the invoice it posted and its reversal trail. Member read,
like the rest of the detail. See ``doc/pipeline.md §"Linked records"``.

## Path parameters

- `company_id` string, required
- `entry_id` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- RelatedLinksOut: Everything that belongs with one subject record.
  - `subject` RelatedRef, required: One record that belongs with the subject.
    - `kind` 'bank_entry' | 'gl_journal_entry' | 'item' | 'commercial_document' | 'gl_open_item' | 'ar_invoice' | 'imported_journal_entry' | 'accounting_invoice' | 'payroll_run' | 'cash_book_entry' | 'expense_card_transaction' | 'expense_claim' | 'fixed_asset' | 'opening_entry_proposal' | 'provision' | 'reserve_allocation' | 'tax_provision' | 'dividend_resolution' | 'fx_valuation' | 'recognition_schedule', required: The entity types the read model can point at. ``accounting_invoice``, ``gl_open_item`` and ``commercial_document`` have no detail route in the app; they come back with ``navigable=False`` and render as labelled text rather than a dead link.
    - `id` string, required
    - `company_id` string, required
    - `label` string, required
    - `sublabel` string, nullable
    - `role` string, nullable
    - `amount` string, nullable
    - `allocated_amount` string, nullable
    - `currency` string, nullable
    - `ref_date` string, date, nullable
    - `status` string, nullable
    - `superseded` boolean
    - `unresolved` boolean
    - `via` RelatedVia[], required
    - `match_quality` string, nullable
    - `confidence` string, nullable
    - `link_id` string, nullable
    - `navigable` boolean
  - `related` RelatedRef[], required
    - `kind` 'bank_entry' | 'gl_journal_entry' | 'item' | 'commercial_document' | 'gl_open_item' | 'ar_invoice' | 'imported_journal_entry' | 'accounting_invoice' | 'payroll_run' | 'cash_book_entry' | 'expense_card_transaction' | 'expense_claim' | 'fixed_asset' | 'opening_entry_proposal' | 'provision' | 'reserve_allocation' | 'tax_provision' | 'dividend_resolution' | 'fx_valuation' | 'recognition_schedule', required: The entity types the read model can point at. ``accounting_invoice``, ``gl_open_item`` and ``commercial_document`` have no detail route in the app; they come back with ``navigable=False`` and render as labelled text rather than a dead link.
    - `id` string, required
    - `company_id` string, required
    - `label` string, required
    - `sublabel` string, nullable
    - `role` string, nullable
    - `amount` string, nullable
    - `allocated_amount` string, nullable
    - `currency` string, nullable
    - `ref_date` string, date, nullable
    - `status` string, nullable
    - `superseded` boolean
    - `unresolved` boolean
    - `via` RelatedVia[], required
    - `match_quality` string, nullable
    - `confidence` string, nullable
    - `link_id` string, nullable
    - `navigable` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zeno-works/apis/zeno-api.md) · [All operations](https://skmtc.dev/zeno-works/apis/zeno-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zeno-works/apis/zeno-api/revisions/1eb93dde146c?raw)
