---
title: "GET /companies/{companySlug}/journalEntries/{journalEntryId}"
method: GET
path: "/companies/{companySlug}/journalEntries/{journalEntryId}"
tags: ["journal entries"]
---

# GET /companies/{companySlug}/journalEntries/{journalEntryId}

`GET /companies/{companySlug}/journalEntries/{journalEntryId}`

## Request

- Base URL: `https://api.fiken.no/api/v2`
- URL: `https://api.fiken.no/api/v2/companies/{companySlug}/journalEntries/{journalEntryId}`
- Auth: OAuth 2
  - Authorization code: `https://fiken.no/oauth/authorize`
  - Token URL: `https://fiken.no/oauth/token`

Returns all journal entries within a given company's Journal Entry Service

## Response `200`

OK

- JournalEntry
  - `journalEntryId` integer
  - `createdDate` string, date: Date that journal entry was created in Fiken, format yyyy-mm-dd
  - `lastModifiedDate` string, date: Date that journal entry was last modified in Fiken, format yyyy-mm-dd.
  - `transactionId` integer
  - `offsetTransactionId` integer: If a journal entry has been cancelled this provides the id of the balancing transaction
  - `transactionType` string: Type of the transaction this journal entry belongs to. The type is a property of the transaction, so all journal entries in the same transaction have the same type. Same value as `type` on transaction. Possible values: Salg, Kjøp, Fri, Åpningsbalanse, Annullering, Import, Kreditert salg, Kreditert kjøp, Bankomkostning, Inngående balanse, Mva-oppgjør, Årsavslutning (system), Bankrenter, Intern overføring, Personlig innskudd/uttak, Innskudd av kontanter (mynter og sedler), Uttak av kontanter (mynter og sedler), Forskuddsskatt, Kontantutlegg, Lønn, Betaling av forskuddstrekk, Betaling av arbeidsgiveravgift, Forever Bonus, Årsavslutning (egne), PayPal PoS, Endring av eiendel, Betaling av finansskatt, Diverse (fra mal), Gjeld, Betaling av utleggstrekk for dekning av skatt, Kjørebok, Skatteoppgjør, Tolldeklarasjon, Verdipapir, Betalingsoppgjør, Avstemming, Varetelling.
  - `journalEntryNumber` integer
  - `description` string, required: We add the flag 'Fri postering registrert via API: '. This must be taken into account in the max length of the description
  - `date` string, date, required
  - `lines` JournalEntryLine[], required
    - `amount` integer, required: This will be the net amount (excluding VAT) for debitAccount lines and gross amount (including VAT) for creditAccount lines. The reason for this difference is due to the way Fiken calculates VAT based on the debitVatCode and creditVatCode.
    - `account` string
    - `vatCode` string
    - `debitAccount` string
    - `debitVatCode` integer
    - `creditAccount` string
    - `creditVatCode` integer
    - `projectId` integer[]
    - `lastModifiedDate` string, date: Date that journal entry line was last modified in Fiken, format yyyy-mm-dd.
  - `attachments` Attachment[]
    - `uuid` string, uuid: Unique id of the attachment (the underlying file's UUID). Use this value as the attachmentUuid path parameter when deleting the attachment.
    - `filename` string: The name of the underlying file.
    - `identifier` string: User-defined identifier for attachment. Could be the Invoice Id or receipt number for example.
    - `downloadUrl` string: For use with API credentials (bearer token or oauth 2)
    - `downloadUrlWithFikenNormalUserCredentials` string: Requires the user to login with username and password in Fiken.
    - `comment` string: Field for additional information for this attachment.
    - `type` 'invoice' | 'reminder' | 'unspecified' | 'ocr' | 'bank_statement'

## Changes

- **2026-10-07** `91d77352f816`: 1 info
  - added the optional property `transactionType` to the response with the `200` status
- **2026-09-03** `2473dacdb89c`: 2 info
  - added the optional property `attachments/items/filename` to the response with the `200` status
  - added the optional property `attachments/items/uuid` to the response with the `200` status
- **2026-03-28** `dff97b55851e`: 1 info
  - the response optional property `transactionId` became read-only for the status `200`
- **2023-05-26** `e093a0c9db87`: 4 info
  - added the optional property `createdDate` to the response with the `200` status
  - added the optional property `lastModifiedDate` to the response with the `200` status
  - added the optional property `lines/items/lastModifiedDate` to the response with the `200` status
  - added the optional property `lines/items/projectId` to the response with the `200` status
- **2021-12-08** `4813e5666340`: 3 warning, 4 info
  - added the new `bank_statement` enum value to the `attachments/items/type` response property for the response status `200`
  - added the new `ocr` enum value to the `attachments/items/type` response property for the response status `200`
  - added the new `unspecified` enum value to the `attachments/items/type` response property for the response status `200`
  - the endpoint scheme security `fiken_api_oauth` was removed from the API
  - …3 more

[Operation history](https://skmtc.dev/fiken/apis/fiken-api/changes/companies/:companySlug/journalEntries/:journalEntryId/get.md)

---

[API](https://skmtc.dev/fiken/apis/fiken-api.md) - [All operations](https://skmtc.dev/fiken/apis/fiken-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fiken/apis/fiken-api/revisions/29111da67f94?raw)
