notificationsSettings
Customer Credit sends invoice payment reminders by e-mail to customers. By default, this e-mail is sent on the invoice due date at 12:00 PM UTC. However, a different notification timeline can be set using the optional notificationsSettings
field.
The notificationsSettings
object can set up to three e-mail notification triggers each for the pre-payment (daysPrior
) and post-payment (daysAfter
) timelines. These triggers can be set in a range of 10 days before or after the payment day.


In the example above, this is what the notificationsSettings
object would look like:
{
...
"notificationsSettings": {
"daysPrior": [
{
"days": 9,
"timeOfDay": "12:00:00"
},
{
"days": 5,
"timeOfDay": "12:00:00"
},
{
"days": 1,
"timeOfDay": "12:00:00"
}
],
"daysAfter": [
{
"days": 4,
"timeOfDay": "12:00:00"
},
{
"days": 6,
"timeOfDay": "12:00:00"
},
{
"days": 8,
"timeOfDay": "12:00:00"
}
]
}
...
}
You do not need to set triggers in both timelines
As mentioned before, the
notificationSettings
field is optional. If you do not wish to set any e-mail notification triggers for eitherdaysPrior
ordaysAfter
, just fill in the corresponding parameter with an empty array ([]
).