Get invoice reminders
https://api.light.inc/v1/invoice-receivables/{invoiceReceivableId}/dunning
Returns the payment reminders of an invoice receivable: whether they are running, when the next one goes out, and the pause while they are paused
Permission: invoices:read (AR_CLERK, AUDITOR, COMPANY_ADMIN, CONTROLLER)
Authorization
Send one of these on every request. See Authentication for how to get credentials.
- API key
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
- Bearer token
Path parameters
-
invoiceReceivableIdstring · uuidrequired
Response
-
isActivebooleanWhether the invoice has payment reminders running. Stays true while they are paused.
-
nextReminderAtstring · date-timeWhen the next payment reminder goes out. Left out when the invoice is not waiting for a reminder, or when the reminders are paused with no end date.
-
pauseobjectThe pause in effect. Left out when the payment reminders are not paused.
-
pausedBystring · uuidID of the principal that paused the payment reminders: a user, or an API key's service account
-
pausedAtstring · date-timeTimestamp when the pause started
-
pausedUntilstring · dateThe day the payment reminders start again. Left out for a pause with no end date, which lasts until the reminders are resumed.
-
reasonstringWhy the payment reminders were paused
-