Skip to main content
PUT
cURL

Autorisierungen

Authorization
string
header
erforderlich

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Pfadparameter

id
string
erforderlich

OverdueRule identifier

Body

The updated OverdueRule resource

daysOverdue
integer
erforderlich

Days after the invoice or last reminder / dunning is overdue.

Beispiel:

1

dueInDays
integer
Standard:7
erforderlich

Number of days until this reminder / dunning should be paid.

Beispiel:

7

type
any
Standard:reminder
erforderlich

Type of the overdue rule.

Possible values:

  • reminder: Send a reminder to the customer.
  • dunning: Send a dunning to the customer.
Beispiel:

"reminder"

emailTemplate
object
erforderlich

The email template that is used to send the reminder / dunning.

documentTemplate
object
erforderlich

The document template that is used to generate the reminder / dunning. This is required for a dunning and optional for a reminder.

amountInCents
integer | null

Amount in cents that is charged in the currency of the base invoice, for the dunning. This is required for type "dunning".

Erforderlicher Bereich: x >= 0
Beispiel:

100

attachOriginalInvoice
boolean
Standard:true

Attach the original invoice additionally to the reminder / dunning.

Beispiel:

true

sendLetter
boolean

Send a letter by mail to the customer.

isEnabled
boolean
Standard:true

Enable or disable the overdue rule.

Beispiel:

true

Antwort

OverdueRule resource updated

level
integer
Standard:1
erforderlich

Level of the overdue rule. The level is used to sort the overdue rules. The overdue rule with the lowest level is used first.

Erforderlicher Bereich: x <= 6
Beispiel:

1

daysOverdue
integer
erforderlich

Days after the invoice or last reminder / dunning is overdue.

Beispiel:

1

dueInDays
integer
Standard:7
erforderlich

Number of days until this reminder / dunning should be paid.

Beispiel:

7

type
any
Standard:reminder
erforderlich

Type of the overdue rule.

Possible values:

  • reminder: Send a reminder to the customer.
  • dunning: Send a dunning to the customer.
Beispiel:

"reminder"

emailTemplate
object
erforderlich

The email template that is used to send the reminder / dunning.

documentTemplate
object
erforderlich

The document template that is used to generate the reminder / dunning. This is required for a dunning and optional for a reminder.

id
string
read-only
Beispiel:

"ad8f3b1c-4f0e-4b9e-8b0a-0e0e0e0e0e0e"

amountInCents
integer | null

Amount in cents that is charged in the currency of the base invoice, for the dunning. This is required for type "dunning".

Erforderlicher Bereich: x >= 0
Beispiel:

100

attachOriginalInvoice
boolean
Standard:true

Attach the original invoice additionally to the reminder / dunning.

Beispiel:

true

sendLetter
boolean

Send a letter by mail to the customer.

isEnabled
boolean
Standard:true

Enable or disable the overdue rule.

Beispiel:

true

createdAt
string<date-time>
read-only

Date and time when the overdue rule was created.

Beispiel:

"2021-01-01T00:00:00+00:00"

updatedAt
string<date-time>
read-only

Date and time when the overdue rule was last updated.

Beispiel:

"2021-01-01T00:00:00+00:00"