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

# CalculateSalesEntityLineItemResponse

> Response model for a calculated sales entity line item.



**Kind**: `object`

## Fields

**`syncNumber`**: `Int!`

The synchronization identifier for the line item. Negative values indicate system-generated BOM child positions.

---

**`lineItemType`**: `LineItemType!`

Type of the sales entity line item.

---

**`itemId`**: `ID`

The article/item ID for the line item. Not set for shipping positions and free-text positions.

---

**`quantity`**: `Decimal!`

The quantity for the line item.

---

**`salesPriceNet`**: `Decimal!`

The calculated net sales price per unit.

---

**`salesPriceGross`**: `Decimal!`

The calculated gross sales price per unit.

---

**`totalSalesPriceNet`**: `Decimal!`

The total net amount for this line item after applying quantity and discount.

---

**`totalSalesPriceGross`**: `Decimal!`

The total gross amount for this line item after applying quantity and discount.

---

**`discountPercent`**: `Decimal!`

The discount percentage applied to the line item.

---

**`taxRate`**: `Decimal!`

The tax rate applied to the line item.

---

**`taxClassId`**: `ID!`

The tax class applied to the line item.

> Deprecated: Deprecated since API v2: Not set for line items without a tax class: REST omits the property, GraphQL fails the whole result. Use 'AppliedTaxClassId' instead. Planned removal: API v3.

---

**`appliedTaxClassId`**: `ID`

The tax class applied to the line item. Same value as "taxClassId", but not set if the line item has none, for example a line item of an imported order whose tax rate matches no tax rate of the tax zone.

---

**`taxCodeId`**: `ID!`

The tax code applied to the line item.

> Deprecated: Deprecated since API v2: Not set for line items without a tax code: REST omits the property, GraphQL fails the whole result. Use 'AppliedTaxCodeId' instead. Planned removal: API v3.

---

**`appliedTaxCodeId`**: `ID`

The tax code applied to the line item. Same value as "taxCodeId", but not set if the line item has none, for example because the applied tax rate has no tax code for the tax treatment.

---

**`parentSyncNumber`**: `Int`

The SyncNumber of the parent line item. Set for BOM components (negative SyncNumbers) and configuration components.

---

**`recalculateLineItemPriceChangeResult`**: `RecalculateLineItemPriceResult!`

Indicates which price components were changed as a result of a quantity change.

