---
title: "GET /companies/{companySlug}/accountBalances"
method: GET
path: "/companies/{companySlug}/accountBalances"
tags: ["account balances"]
---

# GET /companies/{companySlug}/accountBalances

`GET /companies/{companySlug}/accountBalances`

## Request

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

Retrieves the bookkeeping accounts and closing balances for a given date.
An account is a string with either four digits, or four digits, a colon and five digits ("reskontro").
Examples:
3020 and 1500:10001

## Query parameters

- `fromAccount` integer
- `toAccount` integer
- `page` integer
- `pageSize` integer
- `date` string, date, required

## Response `200`

OK

- AccountBalance[]
  - `code` string
  - `name` string
  - `balance` integer: Balance of account for a given date given in cents (5050 = 50.50)

## Changes

- **2023-05-26** `e093a0c9db87`: 2 info
  - api tag `account balances` added
  - api tag `accounts` removed
- **2021-12-08** `4813e5666340`: 1 info
  - the endpoint scheme security `fiken_api_oauth` was removed from the API

[Operation history](https://skmtc.dev/fiken/apis/fiken-api/changes/companies/:companySlug/accountBalances/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)
