For AI agents: visit https://developer.katanamrp.com/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI.
| Attribute | Description |
|---|
| id | Unique identifier for the object. |
| stock_adjustment_date | The timestamp when the adjustments for the "In stock" quantity of products and materials are recorded. ISO 8601 format with time and timezone must be used. |
| location_id | ID the stock location being adjusted. |
| stock_adjustment_number | A string used to identify the stock adjustment. |
| reason | A descriptive field for your own information to enable better identification. |
| additional_info | A string attached to the object to add any internal comments, links to external files, additional instructions, etc. |
| stock_adjustment_rows | An array of stock adjustment rows. |
| created_at | The timestamp when the stock adjustment was created. |
| updated_at | The timestamp when the stock adjustment was last updated. |
| Attribute | Description |
|---|
| id | Unique identifier for the object. |
| variant_id | ID of product or material variant added to the stock adjustment row. |
| quantity | The quantity by which the stock is adjusted. |
| cost_per_unit | Unit cost of the item. The default value is set to the current average cost of the item in stock. |
| traceability | An array of allocation entries describing how the adjusted quantity is split across batches, serial numbers, and bin locations. Preferred over batch_transactions; when both are supplied, traceability takes precedence. |
| traceability.batch_id | ID of the batch the allocation is drawn from. Null when the allocation is untraced or serial-tracked. Mutually exclusive with serial_number_id. |
| traceability.serial_number_id | ID of the serial number for the allocation. Null when the allocation is untraced or batch-tracked. Mutually exclusive with batch_id. |
| traceability.bin_location_id | ID of the bin location the stock is adjusted in. Null when not bin-tracked. |
| traceability.quantity | Decimal string quantity for the allocation entry. Required for stock adjustments — the service does not default it, so a missing quantity is rejected. Serial entries are implicitly "1" but the value must still be sent. |
| batch_transactions | Deprecated — use traceability instead. An array of batch transactions and their quantities. You can adjust stock for the same item from multiple batches. When traceability is supplied it takes precedence over batch_transactions. |
| batch_transaction.batch_id | ID of the batch for the adjusted item. |
| batch_transactions.quantity | The quantity adjusted from a particular batch. |