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

# Download Opening Entry File

`GET /opening-entries/{proposal_id}/file`

## 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}/file`
- Auth: none declared

Download an opening-entry proposal as an accounting-import file.

Renders the proposal's stored journal entries through the journal-export
exporters (canonical JSON / bexio JSON / AbaConnect XML). The export format is the
company's ``accounting_solution`` unless overridden by ``?format=`` — so the same
proposal can be pulled for both abacus and bexio without flipping the company
setting. Read-only: no accountant call, no balance-snapshot requirement.

200 → the file bytes as an ``attachment`` download. 404 ``{"msg"}`` if the proposal
is unknown. 409 ``{"msg"}`` if it carries no rendered journal entries to export.

## Path parameters

- `proposal_id` string, required

## Query parameters

- `format` 'bexio' | 'abacus' | 'generic': The company's target accounting software, driving journal-entry export format. Per-company manual choice (no provenance). ``generic`` (the default) emits a clean canonical JSON; ``bexio``/``abacus`` select the matching export renderer.

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- unknown

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