Inventory cost layers
A quantity of inventory at one unit cost, used for cost flow and inventory valuation.
Fields
The API name is what the API, MCP and the CLI use.
| Name | API name | Type | Required | Description |
|---|---|---|---|---|
| ID | id | Record ID | Yes | |
| Item | productitemId | Reference | ||
| Initial quantity | quantity | Quantity | Yes | Fixed founding quantity at layer creation. Does not change with FIFO consumption. |
| Quantity remaining | quantityRemaining | Quantity | Yes | Quantity not yet consumed on this layer. Decreases on FIFO outbound and may restore on reversals. |
| Item | customitemId | Reference | ||
| Catalog | catalog | Constant | Yes | Fixed option from the allowed set for this field. |
| Unit | catalogunit | Unit | ||
| Start | datetimeStart | Date and Time | Yes | When the layer opened (founding receipt or FIFO restore). |
| End | datetimeEnd | Date and Time | When remaining quantity reached zero. Empty while the layer is still open. | |
| Current unit cost | unitCost | Unit price | Yes | Current capitalized unit cost. Founding receipt cost unless a cost layer adjustment row exists. |
| Created at | createdAt | Date and Time | Yes | |
| Updated at | updatedAt | Date and Time | Yes |