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

# GET /companies/{companySlug}/journalEntries

`GET /companies/{companySlug}/journalEntries`

Returns all general journal entries (posteringer) for the specified company.

## Query parameters

- `page` integer
- `pageSize` integer
- `date` string, date
- `dateLe` string, date
- `dateLt` string, date
- `dateGe` string, date
- `dateGt` string, date
- `lastModified` string, date
- `lastModifiedLe` string, date
- `lastModifiedLt` string, date
- `lastModifiedGe` string, date
- `lastModifiedGt` string, date
- `createdDate` string, date
- `createdDateLe` string, date
- `createdDateLt` string, date
- `createdDateGe` string, date
- `createdDateGt` string, date

## 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
  - `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'

---

[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/2473dacdb89c?raw)
