> ## 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.

# CreateOutboundStockPostingCommandRequestInput

> Posts a quantity of an item out of an active standard warehouse. errorCode is one of: STOCK_POSTING_QUANTITY_INVALID, INVENTORY_MANAGEMENT_INFORMATION_REQUIRED, INVENTORY_MANAGEMENT_INFORMATION_NOT_SUPPORTED, STOCK_POSTING_SERIAL_NUMBERS_INVALID (request invalid); ITEM_NOT_FOUND, WAREHOUSE_NOT_FOUND, ITEM_NOT_ALLOWED, WAREHOUSE_NOT_ALLOWED, ITEM_NOT_DIVISIBLE, INSUFFICIENT_STOCK (rule violated, also for serial numbers not in stock). - Request



**Kind**: `input`

## Fields

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

Active standard warehouse the stock is posted from.

---

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

Item to post. It must be managed in inventory and hold stock of its own.

---

**`inventoryManagementInformation`**: `StockPostingInventoryManagementInformationInput`

Batch number, shelf life expiration date and serial numbers. Required for items with that tracking, not allowed for others.

---

**`quantity`**: `Decimal!` (required)

Quantity to remove. Must be greater than 0; fractions only for divisible items.

---

**`comment`**: `String`

Comment stored with the stock posting.

---

**`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.

