---
title: "StockCountLines (Exact Online)"
description: "Stock Count Lines"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/exactonline/ExactOnlineREST.Inventory.StockCountLines
original: https://documentation.invantive.eu/en/datamodels/exactonline/ExactOnlineREST.Inventory.StockCountLines
updated: 2026-11-01T17:55:09Z
license: https://documentation.invantive.eu/en/
---

# StockCountLines: Exact Online Stock Count Lines

`insert` `update` `delete` `per partition` `REST`

- Catalog: `ExactOnlineREST`
- Schema: `Inventory`
- Primary Keys: `ID`
- Label: Stock Count Lines

The data in this table is partitioned per value of the `Division` column.

Can retrieve data and change data using `insert`, `update` and `delete`.

## API Source

- Endpoint: `/api/v1/{division}/inventory/StockCountLines`
- Metadata: `/api/v1/{division}/inventory/$metadata`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 5 |
| Full scan rows per minute | 7,200 |
| Point query rows per minute | 300 |
| Write rows per minute | 300 |

The result can be cached on the client.

## Table Columns

The columns of the table `StockCountLines` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `CostPrice` | `double` | Cost Price | [ ] | filters on the platform, writable | Cost price of the item that is used to create the stock count. |
| `CountedBy` | `guid` | itgen_eol_countedby | [ ] | filters on the platform, writable | Counted by. |
| `Created` | `datetime` | Created | [ ] | filters on the platform, writable | Creation date. |
| `CreatedUtc` | `datetime` | Created (UTC) | [ ] | writable | Creation date in UTC. |
| `Creator` | `guid` | Creator | [ ] | filters on the platform, writable | User ID of creator. |
| `CreatorFullName` | `varchar2(240)` | Creator Full Name | [ ] | filters on the platform, writable | Name of creator. |
| `Division` | `int32` | Division | [ ] |  | Division code. |
| `DivisionCompanyCoCNumber` | `varchar2(60)` | Division Chamber of Commerce Number | [ ] | writable | Chamber of commerce number of the Exact Online division. |
| `DivisionCompanyIBANNumber` | `varchar2(50)` | Division IBAN Number | [ ] | writable | IBAN number of the Exact Online division. |
| `DivisionCompanyName` | `varchar2(50)` | Division Company Name | [x] | writable | Company name of the Exact Online division. |
| `DivisionCompanyRSINNumber` | `varchar2(9)` | Division RSIN Number | [ ] | writable | RSIN number of the Exact Online division. |
| `DivisionCompanyVATNumber` | `varchar2(35)` | Division VAT Number | [ ] | writable | VAT number of the Exact Online division. |
| `DivisionCompanyWageTaxNumber` | `varchar2(60)` | Division Wage Tax Number | [ ] | writable | Wage tax number of the Exact Online division. |
| `DivisionLabel` | `varchar2(128)` | Division Label | [x] | writable | Label of the Exact Online division. |
| `DivisionName` | `varchar2(50)` | Administration Name | [x] | writable | Name of the Exact Online division. |
| `DivisionOwnerCompanyName` | `varchar2(50)` | Subscription Holder Name | [x] | writable | Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs. |
| `DivisionOwnerCompanyNumber` | `varchar2(18)` | Subscription Holder Number | [x] | writable | Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs. |
| `DivisionShortName` | `int64` | Division Short Name | [x] | writable | Short name of the Exact Online division. |
| `ID` | `guid` | ID | [x] | filters on the platform, writable | Primary key. |
| `Item` | `guid` | Item | [ ] | filters on the platform, writable | Reference to the item for which the stock is counted. |
| `ItemBarcode` | `varchar2` | Item Barcode | [ ] | filters on the platform, writable | Item Barcode. |
| `ItemCode` | `varchar2(30)` | Item Code | [ ] | filters on the platform, writable | Item code. |
| `ItemCostPrice` | `double` | Item Cost Price | [ ] | filters on the platform, writable | Current standard/actual item cost price. |
| `ItemDescription` | `varchar2(255)` | Item Description | [ ] | filters on the platform, writable | Description of item. |
| `ItemDivisable` | `char` | Item Divisable | [ ] | filters on the platform, writable | Indicates if fractional quantities of the item can be used, for example quantity = 0.4. |
| `LineNumber` | `int32` | Line Number | [ ] | filters on the platform, writable | Line number. |
| `Modified` | `datetime` | Modified | [ ] | filters on the platform, writable | Last modified date. |
| `ModifiedUtc` | `datetime` | Modified (UTC) | [ ] | writable | Last modified date in UTC. |
| `Modifier` | `guid` | Modifier | [ ] | filters on the platform, writable | User ID of modifier. |
| `ModifierFullName` | `varchar2(240)` | Modified Full Name | [ ] | filters on the platform, writable | Name of modifier. |
| `QuantityDifference` | `double` | Quantity Difference | [ ] | filters on the platform, writable | The difference between the current quantity in stock and the new quantity in stock. For example specify -1 for this field to correct the quantity if one item in stock is broken. |
| `QuantityInStock` | `double` | Quantity in Stock | [ ] | filters on the platform, writable | The current quantity available in stock. |
| `QuantityNew` | `double` | Quantity New | [ ] | filters on the platform, writable | The new quantity in stock. Use this field to correct the quantity when the items in stock are physically counted. |
| `ReasonCode` | `varchar2` | Reason Code | [ ] | filters on the platform |  |
| `ReasonCodeDescription` | `varchar2` | Reason Code Description | [ ] | filters on the platform |  |
| `ReasonCodeID` | `guid` | Reason Code ID | [ ] | filters on the platform, writable |  |
| `Source` | `int16` | Source | [ ] | filters on the platform, writable | Source of stock count entry: 1-Manual entry, 2-Import, 3-Stock count, 4-Web service. |
| `Status` | `int16` | Status | [ ] | filters on the platform, writable | Stock count status: 12-Draft, 21-Processed. |
| `StockCountID` | `guid` | Stock Count ID | [ ] | filters on the platform, writable | Identifies the stock count. All the lines of a stock count have the same StockCountID. |
| `StockKeepingUnit` | `varchar2` | Stock Keeping Unit | [ ] | filters on the platform, writable | Stock item's unit description. |
| `StorageLocation` | `guid` | Storage Location | [ ] | filters on the platform, writable | This property is package specific (Stock count can have multiple lines for the same item only if it is for multiple storage locations). |
| `StorageLocationCode` | `varchar2` | Storage Location Code | [ ] | filters on the platform, writable | Storage location code. |
| `StorageLocationDescription` | `varchar2` | Storage Location Description | [ ] | filters on the platform, writable | Storage location description. |
| `StorageLocationSequenceNumber` | `int32` | itgen_eol_storagelocationsequencenumber | [ ] | filters on the platform, writable |  |
| `Warehouse` | `guid` | Warehouse | [ ] | filters on the platform, writable | Warehouse. |

## Keys

| Key | Column | Refers to | Kind | Description |
|---|---|---|---|---|
| `StockCountLines_CountedBy_Users_fk` | `CountedBy` | [Users](ExactOnlineREST.Users.Users)`.UserID` | Key |  |
| `StockCountLines_Creator_Users_fk` | `Creator` | [Users](ExactOnlineREST.Users.Users)`.UserID` | Key |  |
| `StockCountLines_Item_Items_fk` | `Item` | [Items](ExactOnlineREST.Logistics.Items)`.ID` | Key |  |
| `StockCountLines_Modifier_Users_fk` | `Modifier` | [Users](ExactOnlineREST.Users.Users)`.UserID` | Key |  |
| `StockCountLines_StockCountID_StockCounts_fk` | `StockCountID` | [StockCounts](ExactOnlineREST.Inventory.StockCounts)`.StockCountID` | Key |  |
| `StockCountLines_StorageLocation_StorageLocations_fk` | `StorageLocation` | [StorageLocations](ExactOnlineREST.Inventory.StorageLocations)`.ID` | Key |  |
| `StockCountLines_Warehouse_Warehouses_fk` | `Warehouse` | [Warehouses](ExactOnlineREST.Inventory.Warehouses)`.ID` | Key |  |

## Referenced By

- [StockBatchNumbers](ExactOnlineREST.Inventory.StockBatchNumbers) `StockCountLine` (Key)
- [StockSerialNumbers](ExactOnlineREST.Inventory.StockSerialNumbers) `StockCountLine` (Key)
- [PurchaseOrderStockBatchNumbers](ExactOnlineREST.PurchaseOrder.PurchaseOrderStockBatchNumbers) `StockCountLine` (Key)
- [PurchaseOrderStockSerialNumbers](ExactOnlineREST.PurchaseOrder.PurchaseOrderStockSerialNumbers) `StockCountLine` (Key)
- [SalesOrderStockBatchNumbers](ExactOnlineREST.SalesOrder.SalesOrderStockBatchNumbers) `StockCountLine` (Key)
- [SalesOrderStockBatchNumbersBulk](ExactOnlineREST.SalesOrder.SalesOrderStockBatchNumbersBulk) `StockCountLine` (Key)
- [SalesOrderStockSerialNumbersBulk](ExactOnlineREST.SalesOrder.SalesOrderStockSerialNumbersBulk) `StockCountLine` (Key)



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Exact Online](/en/release-notes/drivers?driver=exact-online)

