---
title: "StockTakesByReferenceNumber (Visma.net Financials)"
description: "Stock Takes by Reference Number"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/vismanet/VismaNet.StocktakeV2.StockTakesByReferenceNumber
original: https://documentation.invantive.eu/en/datamodels/vismanet/VismaNet.StocktakeV2.StockTakesByReferenceNumber
updated: 2026-11-01T17:49:50Z
license: https://documentation.invantive.eu/en/
---

# StockTakesByReferenceNumber: Visma.net Financials Stock Takes by Reference Number

`read only` `REST`

- Catalog: `VismaNet`
- Schema: `StocktakeV2`
- Label: Stock Takes by Reference Number

Get a specific

Can only retrieve data.

## API Source

- Endpoint: `/v2/stocktake/{referenceNumber}`
- Operation: `get /v2/stocktake/{referenceNumber}`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 155 |
| Full scan rows per minute | 29,100 |
| Point query rows per minute | 387 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `referenceNumber` | `` | [x] |  | Identifies the Stocktake |

## Table Columns

The columns of the table `StockTakesByReferenceNumber` 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 |
|---|---|---|:---:|---|---|
| `COMPANY_CODE` | `varchar2(30)` | Company Code | [x] | writable | Partition code, segmenting the data. |
| `COMPANY_NAME` | `varchar2(240)` | Company Name | [x] | writable | Name of the partition. |
| `baseUnit` | `varchar2` | Base Unit | [ ] | writable, `baseUnit` | Stocktaking details tab &gt; Base Unit &gt; The base unit for the item. |
| `bookQuantity` | `double` | Book Quantity | [ ] | writable, `bookQuantity` | Stocktaking details tab &gt; Book quantity &gt; The book quantity of the item, which is calculated based on the system records. |
| `description` | `varchar2` | Description | [ ] | filters on the platform, writable, `::ancestor.description` | The top part &gt; Description &gt; The description of the stocktaking. |
| `errorInfo` | `varchar2` | Error Message | [ ] | filters on the platform, writable, `::ancestor.errorInfo` |  |
| `expirationDate` | `datetime` | Expiration Date | [ ] | writable, `expirationDate` | Stocktaking details tab &gt; Expiration date &gt; The expiration date of the item with this specific lot or serial number. |
| `extVarianceCost` | `double` | itgen_vnet_extvariancecost | [ ] | writable, `extVarianceCost` | Stocktaking details tab &gt; Variance cost &gt; The difference between the extended cost calculated based on the book quantity and the extended cost calculated based on the physical quantity for the item. |
| `freezeDate` | `datetime` | itgen_vnet_freezedate | [ ] | filters on the platform, writable, `::ancestor.freezeDate` | The top part &gt; Freeze date &gt; An info field that shows the date when the stocktaking document was created. |
| `inventory_description` | `varchar2` | Inventory Description | [ ] | writable, `inventory.description` | Click on the magnifier. &gt; The description. |
| `inventory_id` | `varchar2` | itgen_vnet_inventory_id | [ ] | writable, `inventory.id` | Click the magnifier &gt; The displayed name |
| `inventory_internalId` | `int32` | itgen_vnet_inventory_internalid | [ ] | writable, `inventory.internalId` | Click the magnifier &gt; The identifier |
| `lastModifiedDateTime` | `datetime` | Last Modified | [ ] | writable, `lastModifiedDateTime` | System generated information. |
| `lastModifiedDateTime_2` | `datetime` | Last Modified Date/Time 2 | [ ] | filters on the platform, writable, `::ancestor.lastModifiedDateTime` | System generated information. |
| `lineNbr` | `int32` | itgen_vnet_linenbr | [ ] | writable, `lineNbr` | Stocktaking details tab &gt; Line no. &gt; The number of the line in the stocktaking document. |
| `location_description` | `varchar2` | Location Description | [ ] | writable, `location.description` | Click on the magnifier. &gt; The description. |
| `location_id` | `varchar2` | Location ID | [ ] | writable, `location.id` | Click the magnifier &gt; The displayed name |
| `location_internalId` | `int32` | itgen_vnet_location_internalid | [ ] | writable, `location.internalId` | Click the magnifier &gt; The identifier |
| `lotSerialNbr` | `varchar2` | itgen_vnet_lotserialnbr | [ ] | writable, `lotSerialNbr` | Stocktaking details tab &gt; Lot/serial number &gt; The lot or serial number of the item. |
| `metadata_maxPageSize` | `int64` | Metadata Max Pagesize | [ ] | filters on the platform, writable, `::ancestor.metadata.maxPageSize` |  |
| `metadata_totalCount` | `int64` | Total Count | [ ] | filters on the platform, writable, `::ancestor.metadata.totalCount` |  |
| `numberOfLines` | `int32` | itgen_vnet_numberoflines | [ ] | filters on the platform, writable, `::ancestor.numberOfLines` |  |
| `physicalQty` | `double` | itgen_vnet_physicalqty | [ ] | filters on the platform, writable, `::ancestor.physicalQty` | The top part &gt; Total physical qty. &gt; An info field showing the total actual quantity of all stock items listed in the document. |
| `physicalQuantity` | `double` | itgen_vnet_physicalquantity | [ ] | writable, `physicalQuantity` | Stocktaking details tab &gt; Physical quantity &gt; The physical quantity of the item as entered manually. |
| `reasonCode` | `varchar2` | Reason Code | [ ] | writable, `reasonCode` | Stocktaking details tab &gt; Reason code &gt; The reason code for the item. |
| `referenceNbr` | `varchar2` | Reference Number | [ ] | filters on the platform, writable, `::ancestor.referenceNbr` | The top part &gt; Ref. no. &gt; The reference number of the stocktaking document to be reviewed. |
| `status` | `varchar2` | Status | [ ] | writable, `status` | Stocktaking details tab &gt; Status &gt; The status of the line of the stocktaking document, which indicates whether the actual physical quantity has been specified for the line. |
| `summaryStatus` | `varchar2` | itgen_vnet_summarystatus | [ ] | filters on the platform, writable, `::ancestor.summaryStatus` | The top part &gt; Status &gt; An info field that shows the current status of this stocktaking document. |
| `tagNbr` | `int32` | itgen_vnet_tagnbr | [ ] | writable, `tagNbr` | Stocktaking details tab &gt; Tag no. &gt; The tag number for the line item, which is the stock item with the properties specified in the line, such as location, subitem, and lot or serial number. |
| `timestamp` | `varchar2` | Timestamp | [ ] | filters on the platform, writable, `::ancestor.timestamp` | Timestamp of the stocktake record |
| `unitCost` | `double` | Unit Cost | [ ] | writable, `unitCost` | Stocktaking details tab &gt; Unit cost &gt; The last cost of the item’s base unit as approximation of its unit cost during the count. |
| `varianceCost` | `double` | itgen_vnet_variancecost | [ ] | filters on the platform, writable, `::ancestor.varianceCost` | The top part &gt; Total variance cost &gt; An info field showing the total variance cost for all stock items listed in the document. |
| `varianceQty` | `double` | itgen_vnet_varianceqty | [ ] | filters on the platform, writable, `::ancestor.varianceQty` | The top part &gt; Total variance qty. &gt; An info field showing the total variance quantity for the document. |
| `varianceQuantity` | `double` | itgen_vnet_variancequantity | [ ] | writable, `varianceQuantity` | Stocktaking details tab &gt; Variance quantity &gt; The difference between the book quantity and the physical quantity for the line item. |
| `warehouse_description` | `varchar2` | Warehouse Description | [ ] | writable, `warehouse.description` | Click on the magnifier. &gt; The description. |
| `warehouse_id` | `varchar2` | Warehouse ID | [ ] | writable, `warehouse.id` | Click on the magnifier. &gt; The identifier. |



## Release Notes

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

- [Visma.net Financials](/en/release-notes/drivers?driver=visma-net-financials)

