invantive documentation
Invantive Support ForumsLog In / Sign Up

StockBalances: Fortnox Stock Balances

read only REST

  • Catalog: Fortnox
  • Schema: WarehouseStockStatuses
  • Label: Stock Balances

Get stock balance

Get stock balance for each stockpoint.

Returns a list of itemId, stockPointCode, availableStock, inStock.

(The difference between availableStock and inStock is the reserved amount.)

Can only retrieve data.

Summary

Get stock balance for each stockpoint.

Returns a list of itemId, stockPointCode, availableStock, inStock.

(The difference between availableStock and inStock is the reserved amount.)

API Source

  • Endpoint: /api/warehouse/status-v1/stockbalance
  • Operation: get /api/warehouse/status-v1/stockbalance

Performance Characteristics

Characteristic Value
Average access latency (ms) 356
Full scan rows per minute 85,000
Point query rows per minute 168

The result can be cached on the client.

Parameters

Name Data Type Required Default Documentation
financialyear `` Selects what financial year that should be used (does not work on every table).
financialyeardate `` Selects by date, what financial year that should be used (does not work on every table).
fromdate `` Defines a selection based on a start date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table).
lastmodified `` Retrieves all records since the provided timestamp (does not work on every table).
todate `` Defines a selection based on an end date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table).

Table Columns

The columns of the table StockBalances 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
availableStock decimal Available Stock filters on the platform, writable, availableStock
inStock decimal In Stock filters on the platform, writable, inStock
itemId varchar2 Item ID filters on the platform, writable, itemId
stockPointCode varchar2 Stock Point Code filters on the platform, writable, stockPointCode

Release Notes

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