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

# DeliveryNote

> A delivery note: the goods of one sales order that leave together, in one or more packages. Line items and packages are read with their own queries.



**Kind**: `object`

## Fields

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

The ID of the delivery note.

---

**`number`**: `String`

The number of the delivery note, by default the number of the sales order with a running suffix.

---

**`createdAt`**: `DateTime!`

When the delivery note was created (the delivery note date).

---

**`salesOrderId`**: `ID!`

The sales order the delivery note belongs to.

---

**`salesOrderNumber`**: `String!`

The number of the sales order.

---

**`externalOrderNumber`**: `String`

The order number of the sales channel, for example of the shop or marketplace.

---

**`customerId`**: `ID`

The customer of the sales order.

---

**`customerNumber`**: `String`

The number of the customer.

---

**`companyId`**: `ID`

The own company of the sales order.

---

**`createdBy`**: `ID`

The user who created the delivery note.

---

**`note`**: `String`

A free note on the delivery note.

---

**`status`**: `DeliveryNoteStatus!`

The status: open while at least one package has no shipping date, shipped when all packages have one. Computed.

---

**`shippedAt`**: `DateTime`

When the delivery note was shipped: the latest shipping date of its packages. Absent while it is open.

---

**`shippingMethodId`**: `ID`

The shipping method of the delivery note: the shipping method of its packages, or the one of the sales order when the packages have none.

---

**`printedAt`**: `DateTime`

When the delivery note was printed last.

---

**`shippingConfirmationSentAt`**: `DateTime`

When the shipping confirmation mail was sent to the customer.

---

**`shippingWeight`**: `Decimal!`

The shipping weight of the delivered items in kilograms. Computed.

---

**`itemWeight`**: `Decimal!`

The net item weight of the delivered items in kilograms. Computed.

---

**`packageCount`**: `Int!`

How many packages the delivery note has.

---

**`shippedPackageCount`**: `Int!`

How many of them have a shipping date.

---

**`hasTransferError`**: `Boolean!`

Whether the last transfer of at least one package to a shipping service failed. Computed.

---

**`invoicingStatus`**: `DeliveryNoteInvoicingStatus!`

How far the delivered quantities are invoiced. Computed.

---

**`fulfillment`**: `String!`

Who ships the goods. Stable key in UPPER_SNAKE. Known values: OWN_WAREHOUSE, DROP_SHIPPING, EXTERNAL_FULFILLMENT, FULFILLMENT_NETWORK. New values can be added; a client that does not know a value ignores or tolerates it.

---

**`dropShippingSupplierId`**: `ID`

The supplier that ships the goods. Only for drop shipping.

---

**`fulfillmentWarehouseId`**: `ID`

The fulfillment warehouse that ships the goods. Only for external fulfillment and the JTL Fulfillment Network.

---

**`deliveryAddress`**: `DeliveryNoteAddress!`

The delivery address of the sales order.

---

**`billingAddress`**: `DeliveryNoteAddress!`

The billing address of the sales order.

