---
title: "Get Opening Entry"
method: GET
path: "/opening-entries/{proposal_id}"
tags: ["accounting-settings"]
---

# Get Opening Entry

`GET /opening-entries/{proposal_id}`

## 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/opening-entries/{proposal_id}`
- Auth: none declared

Get one opening-entry proposal by id (scoped to its company).

Carries the same computed staleness fields as the list endpoint.

## Path parameters

- `proposal_id` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- OpeningEntryProposalOut: A generated Eröffnungsbuchung proposal (the accountant ``ProposalResponse``). ``is_stale`` / ``stale_reasons`` / ``pending_newer`` are **computed** (never stored — see ``app.accounting.services.opening_staleness``): the list/get endpoints compare the current accepted prior-FY snapshot + semantic chart/VAT fingerprints against what the proposal was generated from. ``stale_reasons`` values: ``snapshot_replaced`` | ``chart_changed`` | ``vat_changed``. ``pending_newer`` flags newer uploaded data (proposed snapshot / open change set) awaiting consent — distinct from ``is_stale``. Defaults (fresh = not stale) apply where the fields are not computed, e.g. the just-generated proposal returned by POST.
  - `id` string, required
  - `company_id` string, required
  - `target_fiscal_year` integer, required
  - `source_snapshot_id` string, nullable
  - `opening_posting_date` string, date, required
  - `status` string, required
  - `request_hash` string, required
  - `response` object, nullable
  - `accountant_metadata` object, nullable
  - `generated_by` string, nullable
  - `created_at` string, date-time, required
  - `is_stale` boolean
  - `stale_reasons` string[]
  - `pending_newer` boolean
  - `is_posted` boolean
  - `posted_at` string, date-time, nullable
  - `risk_flags` RiskFlagOut[]
    - `severity` string, nullable
    - `code` string, nullable
    - `message` string, nullable
  - `unresolved_questions` string[]

## 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)
