---
title: "List product calculation line items V3"
method: GET
path: "/api/v3/products/{id}/calculationItems"
tags: ["ProductCalculation"]
---

# List product calculation line items V3

`GET /api/v3/products/{id}/calculationItems`

This endpoint requires the following scopes: `productCalculation:read`.

List a product purchase price calculation line items

## Path parameters

- `id` string, required

## Query parameters

- `filter` object[]
  - `key` 'archived' | 'designation' | 'costType' | 'includeInCalculation'
  - `op` 'equals' | 'notEquals' | 'in' | 'notIn' | 'contains' | 'notContains' | 'startsWith' | 'endsWith' — operator
  - `value` union — The property value.
    - string
    - string[]
- `sort` string[]
- `perPage` integer
- `page` integer
- `cursor` string

## Headers

- `x-pagination` 'simple' | 'table' | 'cursor'

## Response `200`

List a product purchase price calculation line items

- union
  - object
    - `data` object[]
      - `id` string — ID of the line item.
      - `designation` union — Designation of the line item.
        - string
        - 'additionalCosts' | 'productionCosts' | 'purchaseCosts' | 'additionalParts' | 'freightCosts' | 'additionalFreightCosts'
      - `date` string, date — Date of the cost.
      - `costType` 'oneTime' | 'perPiece' | 'perLot' | 'purchase' | 'oldMovingAverage' — Type of the cost.
      - `includeInCalculation` boolean — Whether the line item is included in the purchase price calculation.
      - `totalCost` object — Total cost of the line item.
        - `amount` string — Total cost amount.
        - `currency` string — Total cost currency.
      - `forQuantity` unknown
      - `costPerUnit` object — Cost per unit.
        - `amount` string — Cost per unit amount.
        - `currency` string — Cost per unit currency.
      - `purchaseOrder` object — The purchase order connected to this line item.
        - `id` string — Purchase order ID.
      - `archived` boolean — Whether the line item is archived.
      - `editor` object — The editor who created/modified the line item.
        - `id` string — User ID of the editor.
        - `name` string — Username of the editor.
      - `internalComment` string — Internal comment. Intended to be used for company-internal notes.
    - `meta` object — Pagination meta data
      - `currentPage` integer — The current page number
      - `from` integer, nullable — The first item being returned in the current page
      - `path` string — The base path for the paginated results
      - `perPage` integer — The number of items shown per page
      - `to` integer, nullable — The last item being returned in the current page
    - `links` object — Pagination links
      - `first` string, nullable — URL to the first page
      - `last` string, nullable — URL to the last page
      - `prev` string, nullable — URL to the previous page
      - `next` string, nullable — URL to the next page
  - object
    - `data` object[]
      - `id` string — ID of the line item.
      - `designation` union — Designation of the line item.
        - string
        - 'additionalCosts' | 'productionCosts' | 'purchaseCosts' | 'additionalParts' | 'freightCosts' | 'additionalFreightCosts'
      - `date` string, date — Date of the cost.
      - `costType` 'oneTime' | 'perPiece' | 'perLot' | 'purchase' | 'oldMovingAverage' — Type of the cost.
      - `includeInCalculation` boolean — Whether the line item is included in the purchase price calculation.
      - `totalCost` object — Total cost of the line item.
        - `amount` string — Total cost amount.
        - `currency` string — Total cost currency.
      - `forQuantity` unknown
      - `costPerUnit` object — Cost per unit.
        - `amount` string — Cost per unit amount.
        - `currency` string — Cost per unit currency.
      - `purchaseOrder` object — The purchase order connected to this line item.
        - `id` string — Purchase order ID.
      - `archived` boolean — Whether the line item is archived.
      - `editor` object — The editor who created/modified the line item.
        - `id` string — User ID of the editor.
        - `name` string — Username of the editor.
      - `internalComment` string — Internal comment. Intended to be used for company-internal notes.
    - `links` object
      - `first` string, nullable — URL to the first page
      - `last` string, nullable — URL to the last page
      - `prev` string, nullable — URL to the previous page
      - `next` string, nullable — URL to the next page
    - `meta` object
      - `currentPage` integer — The current page number
      - `from` integer, nullable — The first item being returned in the current page
      - `lastPage` integer — The last page number
      - `path` string — The base path for the paginated results
      - `perPage` integer — The number of items shown per page
      - `to` integer, nullable — The last item being returned in the current page
      - `total` integer — The total number of items
  - object
    - `data` object[]
      - `id` string — ID of the line item.
      - `designation` union — Designation of the line item.
        - string
        - 'additionalCosts' | 'productionCosts' | 'purchaseCosts' | 'additionalParts' | 'freightCosts' | 'additionalFreightCosts'
      - `date` string, date — Date of the cost.
      - `costType` 'oneTime' | 'perPiece' | 'perLot' | 'purchase' | 'oldMovingAverage' — Type of the cost.
      - `includeInCalculation` boolean — Whether the line item is included in the purchase price calculation.
      - `totalCost` object — Total cost of the line item.
        - `amount` string — Total cost amount.
        - `currency` string — Total cost currency.
      - `forQuantity` unknown
      - `costPerUnit` object — Cost per unit.
        - `amount` string — Cost per unit amount.
        - `currency` string — Cost per unit currency.
      - `purchaseOrder` object — The purchase order connected to this line item.
        - `id` string — Purchase order ID.
      - `archived` boolean — Whether the line item is archived.
      - `editor` object — The editor who created/modified the line item.
        - `id` string — User ID of the editor.
        - `name` string — Username of the editor.
      - `internalComment` string — Internal comment. Intended to be used for company-internal notes.
    - `links` object — Pagination links
      - `first` string, nullable — URL to the first page
      - `last` string, nullable — URL to the last page
      - `prev` string, nullable — URL to the previous page
      - `next` string, nullable — URL to the next page
    - `meta` object — Pagination meta data
      - `path` string — The base path for the paginated results
      - `perPage` integer — The number of items shown per page
      - `nextCursor` string, nullable — Cursor for the next page
      - `prevCursor` string, nullable — Cursor for the previous page

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests

---

[API](https://skmtc.dev/xentral/apis/xentral-api.md) · [All operations](https://skmtc.dev/xentral/apis/xentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xentral/xentral-api/revisions/8a27ba392442/schema)
