---
title: "Get Journal Header Fields"
method: GET
path: "/companies/{company_id}/journal-header-fields"
tags: ["journal-export"]
---

# Get Journal Header Fields

`GET /companies/{company_id}/journal-header-fields`

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

The company's configured header fields + the catalog + curated defaults (member).

## Path parameters

- `company_id` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- HeaderFieldsResponse: GET response: the company's configured fields + catalog + curated defaults.
  - `fields` HeaderFieldConfigOut[]
    - `key` string, required
    - `label` string, required
    - `scope` string
    - `enabled` boolean
    - `source_type` string, required
    - `constant_value` string, nullable
    - `derived_token` string, nullable
    - `accountant_field` string, nullable
  - `catalog` HeaderFieldCatalogEntryOut[]
    - `key` string, required
    - `default_label` string, required
    - `scope` string, required
    - `value_type` string, required
    - `max_length` integer, nullable
    - `allowed_values` string[], nullable
    - `importable` boolean
    - `is_abacus_mapped` boolean
    - `abacus_xml_element` string, nullable
    - `suggested_source_type` string, required
    - `allowed_source_types` string[]
  - `defaults` HeaderFieldConfigOut[]
    - `key` string, required
    - `label` string, required
    - `scope` string
    - `enabled` boolean
    - `source_type` string, required
    - `constant_value` string, nullable
    - `derived_token` string, nullable
    - `accountant_field` string, nullable

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