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

# PurchaseOrderAllowanceOrChargeLine

> A discount or a charge the ERP computes from the supplier's conditions whenever the item and custom lines change. It cannot be written.



**Kind**: `object`

## Implements

- `PurchaseOrderLineItem`

## Fields

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

The ID of the line item.

---

**`purchaseOrderId`**: `ID!`

The ID of the purchase order.

---

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

The position of the line on the order. Allowances and charges come last.

---

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

The name of the line: the item's name when it was added, the text of a custom line, the name of an allowance or charge.

---

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

The ordered quantity. Cancelling reduces it to the delivered quantity.

---

**`netUnitPrice`**: `Decimal!`

The net price per unit in the order currency. Negative for a discount.

---

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

The tax rate in percent.

---

**`netAmount`**: `Decimal!`

The net amount of the line: quantity times unit price. Computed.

---

**`note`**: `String`

A note on the line, printed on the order documents.

---

**`confirmation`**: `PurchaseOrderLineItemConfirmation`

What the supplier confirmed for the line. Empty when nothing is confirmed.

---

**`lineItemType`**: `PurchaseOrderLineItemType!`

Discriminator: the kind of the line.

---

**`allowanceOrChargeType`**: `PurchaseOrderAllowanceOrChargeType!`

What the line stands for.

