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

# SalesInvoiceDunningStatus

> Where a sales invoice stands in the dunning procedure.



**Kind**: `object`

## Fields

**`salesInvoiceId`**: `ID!`

The ID of the sales invoice.

---

**`isBlocked`**: `Boolean!`

Whether dunning is blocked for this invoice.

---

**`isBlockedByCustomer`**: `Boolean!`

Whether dunning is blocked for the customer of the invoice, which blocks all of its invoices.

---

**`isDunned`**: `Boolean!`

Whether the invoice has at least one dunning notice.

---

**`currentDunningNoticeId`**: `ID`

The ID of the current notice. Empty if the invoice has not been dunned.

---

**`currentLevelNumber`**: `Int`

The level number of the current notice. Empty if the invoice has not been dunned.

---

**`lastDunningDate`**: `DateTime`

The dunning date of the current notice. Empty if the invoice has not been dunned.

---

**`paymentDueDate`**: `DateTime`

The current payment due date: the one of the current notice, or of the invoice if it has not been dunned or the notice sets none.

---

**`fee`**: `Decimal!`

The dunning fee the invoice currently carries: the fee of its current notice. 0 if it has not been dunned.

---

**`openFee`**: `Decimal!`

The part of that fee that has not been paid yet. Dunning fees are paid as payments of the invoice with the payment type for dunning fees.

---

**`currencyCode`**: `String!`

The ISO 4217 code of the currency of the invoice.

---

**`nextNotice`**: `DunningNextNotice!`

The next notice and whether it can be issued now.

