Skip to Content
HelvetlyDocs
API referenceInvoices

Get an invoice's dunning status

Needs a token with the read:invoices scope (or write:invoices). Authentication

Try in Playground sends a real request to app.helvetly.com with a token you paste. It stays in this browser tab only (session storage) and goes to no one else.

GET
/api/v1/invoices/{id}/dunning

Whether payment reminders apply to the invoice, whether they are paused or switched off (workspace or client), the next step and its due date, and the notices already sent.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A personal API token, hvt_…, with scopes such as read:* or write:invoices

Path Parameters

id*string

The invoice's id.

Response Body

OK

application/json
  1. response
data*
Example Request
curl -X GET 'https://app.helvetly.com/api/v1/invoices/string/dunning'
Example Response
{  "data": {    "applies": true,    "enabled": true,    "client_enabled": true,    "paused": true,    "next": {      "level": 0,      "levels": 0,      "title": "string",      "due_on": "2019-08-24"    },    "notices": [      {        "level": 0,        "levels": 0,        "sent_at": "2019-08-24T14:15:22Z",        "sent_on": "2019-08-24",        "open_amount": "1234.50",        "fee": "1234.50",        "interest": "1234.50",        "interest_rate": "string",        "interest_from": "2019-08-24",        "total": "1234.50",        "email": "string",        "sent_by": "string",        "qr_bill": true,        "title": "string"      }    ]  }}