Skip to main content
inputCreateDunningRunCommandRequestInput

Fields

dunningDate
DateTime

The date printed on the notices. Only the date counts. Defaults to today and must not be before today. Invoices whose current notice has a later dunning date are skipped with DunningDateBeforeCurrentNotice.

dueDateFrom
DateTime!
required

Only invoices whose current payment due date is on or after this date are dunned. Only the date counts. Required; it limits how far back the selection reaches. A missing value is answered with 400 (validation code DUE_DATE_FROM_REQUIRED on 'dueDateFrom').

dueDateTo
DateTime

Only invoices whose current payment due date (without the grace period) is on or before this date are dunned. Only the date counts. Omitted means no upper bound; invoices that are not overdue yet are never dunned anyway.

companyId
ID

Only invoices of this company. Omitted means all companies.

customerGroupId
ID

Only invoices with exactly this customer group; invoices without a customer group are not included. Omitted means all invoices.

paymentMethodId
ID

Only invoices with this payment method. Omitted means all invoices whose payment method takes part in dunning, and invoices without a payment method.

levelNumber
Int

Only invoices whose next notice would be at this level number. Omitted means all levels.

minimumOpenAmount
Decimal

Only invoices with at least this open amount, in the currency of the invoice. Omitted means 0.

idempotencyKey
String

Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.