> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FinishInventoryCountCommandRequestInput

> Finishes the inventory of a standard warehouse: the counted quantities of all inventory counts of the warehouse become its new stock, and the counts are removed. For each counted item, and for each counted batch number and best-before date, stock is posted in or out by the difference between the current stock and the counted quantity; a counted quantity of 0 posts the whole stock out. Items without a count keep their stock unless setUncountedToZero is true. Finishing can take a long time for a large inventory. Send an Idempotency-Key header to make retries safe. - Request



**Kind**: `input`

## Fields

**`warehouseId`**: `ID!` (required)

Unique identifier of the standard warehouse in which the inventory takes place.

---

**`setUncountedToZero`**: `Boolean`

When true, every countable item of the warehouse without an inventory count is counted with a quantity of 0 before finishing, so its stock is posted out. Defaults to false when omitted: items without a count keep their stock.

---

**`idempotencyKey`**: `String`

Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.

