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

# DunningProposal

> A sales invoice that can be dunned now, with the notice it would get. The list is a snapshot for display and is not binding: a dunning run selects the invoices again when it runs.



**Kind**: `object`

## Fields

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

The ID of the sales invoice.

---

**`customerId`**: `ID`

The ID of the customer of the invoice. Empty for an invoice without a customer record.

---

**`companyId`**: `ID!`

The ID of the company of the invoice.

---

**`customerGroupId`**: `ID`

The ID of the customer group of the invoice.

---

**`paymentMethodId`**: `ID`

The ID of the payment method of the invoice. Empty if the invoice has none.

---

**`dueDate`**: `DateTime!`

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

---

**`dunnableFrom`**: `DateTime!`

The first day the next notice can be issued: the due date plus the grace period of the next level, plus one day.

---

**`openAmount`**: `Decimal!`

The open amount of the invoice, gross, without dunning fees.

---

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

The ISO 4217 code of the currency of the invoice.

---

**`currentDunningNoticeId`**: `ID`

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

---

**`currentLevelNumber`**: `Int`

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

---

**`nextDunningLevelId`**: `ID!`

The ID of the level the next notice would be issued at.

---

**`nextLevelNumber`**: `Int!`

The level number of the next notice.

---

**`expectedFee`**: `Decimal!`

The fee the next notice would charge if it were issued today.

