Skip to main content
objectDunningRun

Fields

id
ID!

The ID of the dunning run.

The state of the run.

dunningDate
DateTime!

The date printed on the notices of this run.

dueDateFrom
DateTime!

The selection: earliest payment due date.

dueDateTo
DateTime

The selection: latest payment due date. Empty means no upper bound.

companyId
ID

The selection: company. Empty means all companies.

customerGroupId
ID

The selection: customer group. Empty means all customer groups.

paymentMethodId
ID

The selection: payment method. Empty means all payment methods.

levelNumber
Int

The selection: level number of the notices. Empty means all levels.

minimumOpenAmount
Decimal!

The selection: minimum open amount.

createdNoticeCount
Int!

The number of notices the run has issued, one per invoice. List them with 'QueryDunningNotices' and the filter 'dunningRunId'.

skippedInvoices

The invoices that were selected but could not be dunned any more when the run wrote its notices, with the reason. Invoices that do not meet the rules at selection time are not selected at all and are not listed.

Why the run failed. Empty unless the status is Failed.

createdAt
DateTime!

When the run was started.

createdBy
ID

The user who started the run.

completedAt
DateTime

When the run finished. Empty while it is running.