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

# CreateSalesOrderCommandRequestInput

> Creates a new sales order. - Request



**Kind**: `input`

## Fields

**`disableAutomaticWorkflows`**: `Boolean`

Indicates whether automatic workflows should be disabled for this sales order.

---

**`useBillingAddressAsShipmentAddress`**: `Boolean`

Indicates whether the billing address should be used as the shipment address. If no shipment address is provided and the flag ist not set, the billing address will also be used as shipment address. If the shipment address is provided, this flag will be ignored.

---

**`cartonItemId`**: `ID`

The SalesOrder CartonItemId

---

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

The SalesOrder CompanyId

---

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

The customer ID.

---

**`onHoldReasonId`**: `ID`

The SalesOrder OnHoldReasonId

---

**`paymentMethodId`**: `ID`

The SalesOrder PaymentMethodId

---

**`processColourId`**: `ID`

The SalesOrder ProcessColourId

---

**`processStatusId`**: `ID`

The SalesOrder ProcessStatusId

---

**`billingAddress`**: `CreateCreateSalesOrderAddressInput!` (required)

SalesOrderBillingAddress

---

**`departureCountry`**: `CreateCreateSalesOrderDepartureCountryInput!` (required)

DepartureCountry

---

**`externalDetails`**: `CreateCreateSalesOrderExternalDetailsInput`

ExternalDetails

---

**`lineItems`**: `[CreateCreateSalesOrderLineItemInput]!` (required)

List of SalesOrderLineItem

---

**`paymentDetails`**: `CreateCreateSalesOrderPaymentDetailsInput!` (required)

PaymentDetails

---

**`paymentInfo`**: `CreateCreateSalesOrderPaymentInfoInput`

SalesOrderPaymentInfo

---

**`shipmentAddress`**: `CreateCreateSalesOrderAddressInput`

SalesOrderShipmentAddress

---

**`shippingDetails`**: `CreateCreateSalesOrderShippingDetailsInput`

ShippingDetails

---

**`taxDetails`**: `CreateCreateSalesOrderTaxDetailsInput`

TaxDetails

---

**`text`**: `CreateCreateSalesOrderTextInput`

SalesOrderText

---

**`customerSalesOrderNumber`**: `String`

The SalesOrder CustomerSalesOrderNumber

---

**`itemDescriptionType`**: `ItemDescriptionType`

The SalesOrder ItemDescriptionType

---

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

The SalesOrder LanguageISO

---

**`readOnlyType`**: `ReadOnlyType`

The SalesOrder ReadOnlyType

---

**`salesOrderDate`**: `DateTime`

The SalesOrder Date

---

**`salesOrderNumber`**: `String`

The SalesOrder SalesOrderNumber

---

**`shippingMethodId`**: `ID`

The SalesOrder ShippingMethodId

---

**`vatId`**: `String`

The merchant's own VAT ID for this sales order. If omitted, null or empty, the company's VAT ID for its country of registration is used; the request is rejected when the company has none.

---

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

