---
title: "GET /companies/{companySlug}/purchases/{purchaseId}/accruals/{accrualId}"
method: GET
path: "/companies/{companySlug}/purchases/{purchaseId}/accruals/{accrualId}"
tags: ["purchases"]
---

# GET /companies/{companySlug}/purchases/{purchaseId}/accruals/{accrualId}

`GET /companies/{companySlug}/purchases/{purchaseId}/accruals/{accrualId}`

## Request

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

Returns the specified accrual on the purchase.

## Response `200`

OK

- AccrualResult
  - `accrualId` integer: Id of the accrual.
  - `lineId` integer: The purchase/sale line (orderLine.lineId) that is accrued.
  - `account` string: Account the amount is accrued to.
  - `startDate` string, date: First period (month) of the accrual, format yyyy-mm-dd.
  - `periods` integer: Number of monthly periods the amount is spread over.
  - `amountPerPeriod` integer: Amount posted per period, in cents.
  - `endDate` string, date: Date of the last period (month) of the accrual, format yyyy-mm-dd.
  - `unpostedPeriods` integer: Number of periods not yet posted because they fall in accounting years that have not been opened yet.
  - `unpostedYears` string[]: Accounting years that contain periods not yet posted.

## Changes

- **2026-09-03** `2473dacdb89c`: 1 info
  - endpoint added

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