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

# SalesInvoiceDiscountLineItem

> A discount such as a coupon.



**Kind**: `object`

## Implements

- `SalesInvoiceLineItem`

## Fields

**`id`**: `ID!`

The ID of the line item.

---

**`sortOrder`**: `Int!`

The position of the line item on the invoice.

---

**`name`**: `String!`

The name of the line item.

---

**`note`**: `String`

A note on the line item.

---

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

The quantity.

---

**`salesUnit`**: `String`

The unit the quantity is sold in, for example 'pcs'.

---

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

The net price per unit.

---

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

The gross price per unit.

---

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

The discount in percent.

---

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

The tax rate in percent.

---

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

The net total of the line item after discount.

---

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

The gross total of the line item after discount.

---

**`salesOrderLineItemId`**: `ID`

The line item of the sales order this line item comes from. Absent for a line item without an order link; only those can change quantity, price, discount and tax rate on a draft.

---

**`type`**: `SalesLineItemType!`

Discriminator of the line item type.

---

**`discountType`**: `String!`

The type of the discount. Known values: COUPON, NEW_CUSTOMER_COUPON, LEGACY_VOUCHER. New values can be added; treat an unknown value as unknown.

