Returns the inventory increase with the given identifier.
GET /inventory/inventory-increases/{id}
Group: Inventory › Inventory Increases · Operation ID: getInventoryIncrease
Returns one inventory increase with all of its lines and their batch, serial and bin detail. The item schema is the same here and on POST inventory/inventory-increases/search. The collection GET inventory/inventory-increases returns the header only, without the lines. documentStatus says what you may do next: a draft can be edited, committed or deleted, a committed one can only be canceled, and a canceled one is final but can be deleted.
Open in the interactive reference
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Api-Version |
header | "v1" |
yes | The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version v1. |
id |
path | string | yes | The unique identifier for the inventory increase to return. |
Response
200 Success
Under data (getInventoryIncreaseOutput):
| Field | Type | Required | Description |
|---|---|---|---|
id |
string | yes | The unique identifier for the inventory increase. |
documentNumber |
string | no | The inventory increase's document number, for example 'INC-42'. Absent while none has been assigned. |
documentStatus |
string | yes | The status of the inventory increase. Possible values: 'DRAFT', 'COMMITTED', 'CANCELLED'. |
documentDate |
string (date) | yes | The date the inventory increase is dated. It sets the posting period. Format YYYY-MM-DD. |
entityId |
string | yes | The unique identifier for the legal entity the inventory increase belongs to. See id on GET base/entities. |
entityName |
string | no | The display name of that legal entity. |
locationId |
string | no | The unique identifier for the warehouse the stock is added to. One warehouse for the whole inventory increase. Absent only on a document with no lines. See id on GET inventory/warehouses/:id. |
locationCode |
string | no | The short code of that warehouse. |
locationName |
string | no | The display name of that warehouse. |
reasonCodeId |
string | no | The unique identifier for the reason code, when one was given. See id on GET inventory/reason-codes/:id. |
reasonCode |
string | no | The short code of that reason code. |
reasonCodeDescription |
string | no | The description of that reason code. |
currency |
string | no | The currency of every amount on the inventory increase. Format ISO 4217, for example 'EUR'. |
notes |
string | no | Free text on the inventory increase. |
createdDate |
string (date-time) | no | The date and time the inventory increase was created, in UTC. Format YYYY-MM-DDTHH:mm:ss.sssZ. |
lastModifiedDate |
string (date-time) | no | The date and time the inventory increase record last changed, in UTC. Format YYYY-MM-DDTHH:mm:ss.sssZ. |
lines |
array of object | yes | The lines of the inventory increase. An inventory increase always has at least one. |
lines[].id |
string | yes | The unique identifier for the inventory increase line. |
lines[].itemId |
string | yes | The unique identifier for the item this line adds to stock. See id on GET inventory/items/:id. |
lines[].itemCode |
string | no | The short code of that item. |
lines[].itemName |
string | no | The display name of that item. |
lines[].unitId |
string | yes | The unique identifier for the unit the quantity is counted in. See id on GET inventory/unit-of-measures/:id. |
lines[].unitCode |
string | no | The short code of that unit, for example 'BOX'. |
lines[].quantity |
string (decimal) | yes | The quantity added, in the line's unit. |
lines[].inventoryQuantity |
string (decimal) | no | The same quantity in the item's stocking unit. |
lines[].unitPrice |
string (decimal) | no | The value of one unit, in the inventory increase's currency. |
lines[].notes |
string | no | Free text on the line. |
lines[].batches |
array of object | no | The batches making up this line's quantity, for a batch-tracked item. Absent when the item is not batch-tracked. |
lines[].batches[].batchNumberId |
string | no | The unique identifier for the batch record this entry created or matched. |
lines[].batches[].batchNumber |
string | yes | The batch number as printed, for example 'LOT-2026-08-14'. |
lines[].batches[].manufacturerBatchNumber |
string | no | The maker's own number for the same batch, when one was recorded. |
lines[].batches[].expirationDate |
string (date) | no | The expiration date of the batch. Format YYYY-MM-DD. |
lines[].batches[].quantity |
string (decimal) | yes | The quantity of this batch on the line, in the line's unit. |
lines[].batches[].inventoryQuantity |
string (decimal) | no | The same quantity in the item's stocking unit. |
lines[].batches[].unitCost |
string (decimal) | no | The cost of one unit of this batch, in the inventory increase's currency. |
lines[].serials |
array of object | no | The serialized units making up this line's quantity, one entry per unit. Absent when the item is not serialized. |
lines[].serials[].serialNumberId |
string | no | The unique identifier for the serial record this entry created or matched. |
lines[].serials[].serialNumber |
string | yes | The serial number stamped on the unit. |
lines[].serials[].manufacturerSerialNumber |
string | no | The maker's own number for the same unit, when one was recorded. |
lines[].serials[].unitCost |
string (decimal) | no | The cost of this unit, in the inventory increase's currency. |
lines[].binLocations |
array of object | no | The bins the quantity lands in, in a bin-tracked warehouse. Each entry that names a batchNumber or serialNumber belongs to that batch or unit, and one that names neither belongs to the line. |
lines[].binLocations[].binLocationId |
string | yes | The unique identifier for the bin the quantity landed in. See id on GET inventory/bins/:id. |
lines[].binLocations[].binLocationCode |
string | no | The short code of that bin. |
lines[].binLocations[].quantity |
string (decimal) | yes | The quantity landing in this bin, in the line's unit. |
lines[].binLocations[].inventoryQuantity |
string (decimal) | no | The same quantity in the item's stocking unit. |
lines[].binLocations[].batchNumber |
string | no | The batch this bin entry belongs to, when it belongs to one of the line's batches. |
lines[].binLocations[].serialNumber |
string | no | The serialized unit this bin entry belongs to, when it belongs to one of the line's units. |
Errors
| Code | Status |
|---|---|
NOT_FOUND |
400 |
Statuses
400— Invalid request or business failure. Codes: NOT_FOUND401— Missing or invalid access token403— Not authorized404— Not found429— Too many requests500— Internal server error