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

# CreateBillOfMaterialsInput

> Represents the input for creating a bill of materials as part of a production item.



**Kind**: `input`

## Fields

**`name`**: `String!` (required)

The name of the bill of materials.

---

**`description`**: `String`

An optional description of the bill of materials.

---

**`componentPostingsShelfLifeEndDateRequirements`**: `CreateOverallComponentPostingsInventoryAccountingDataRequirements`

Requirements for the production input of all components of this bill of materials regarding the shelf life end dates of the stock accounts to be debited. This requirement can be overridden for individual components. Optional; defaults to None. Must not be set to a value other than None if no component's underlying item has a shelf life end date configured.

---

**`componentPostingsBatchNumberRequirements`**: `CreateOverallComponentPostingsInventoryAccountingDataRequirements`

Requirements for the production input of all components of this bill of materials regarding the batch numbers of the stock accounts to be debited. This requirement can be overridden for individual components. Optional; defaults to None. Must not be set to a value other than None if no component's underlying item has a batch number configured.

---

**`shelfLifeEndDateGenerationMode`**: `CreateShelfLifeEndDateGenerationMode`

Indicates how the shelf life end date of the produced item is calculated after completing a lot.

---

**`additionalShelfLifeEndDateTime`**: `TimeSpan`

A time span that is added when calculating the shelf life end date of the produced item after completing a lot. Required when ShelfLifeEndDateGenerationMode is ProductionDate; optional when ShelfLifeEndDateGenerationMode is Earliest or Latest; is ignored when ShelfLifeEndDateGenerationMode is not specified.

---

**`operations`**: `[CreateBillOfMaterialsOperationInput]!` (required)

The operations of this bill of materials. At least one operation is required, and across all operations at least one item must be present.

