GET /v1/invoices/reminders/tracking
const url = 'https://api.asap.cool/v1/invoices/reminders/tracking';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.asap.cool/v1/invoices/reminders/tracking \ --header 'Authorization: Bearer <token>'Authorizations
Section intitulée « Authorizations »Responses
Section intitulée « Responses »Unsettled issued documents with their reminder-ladder state.
Response body of GET /v1/invoices/reminders/tracking.
object
Tracked documents, most-urgent first (exhausted ladders, then most overdue, then soonest next reminder). At most 20.
One row of the reminder-tracking card: an unsettled, issued billing document with its ladder state.
object
Remaining balance (centimes), always strictly positive here.
Displayable contact name, None when the contact has vanished.
Days past the due date, floored at 0.
Tracked document identifier.
Due date (YYYY-MM-DD), None when unset.
true when the ladder is fully sent yet the document is still unpaid.
RFC3339 send time of the next pending reminder, None when exhausted.
Sequential number, None for an un-numbered document.
Reminders still pending.
Reminders already sent.
Document total including VAT (centimes).
Example generated
{ "items": [ { "balance_cents": 1, "contact_name": "example", "days_overdue": 1, "document_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "due_date": "example", "exhausted": true, "next_at": "example", "number": "example", "pending_count": 1, "sent_count": 1, "total_ttc_cents": 1 } ]}No active org.
Generic error body returned by API handlers when they fail. code is a
stable machine-readable token; message is human-friendly and meant for
surfacing to end users.
object
Stable machine token (e.g. invalid_credentials).
Offending request field for validation errors, when known.
Human-readable message.
Example generated
{ "code": "example", "field": "example", "message": "example"}Missing invoice:read scope.
Generic error body returned by API handlers when they fail. code is a
stable machine-readable token; message is human-friendly and meant for
surfacing to end users.
object
Stable machine token (e.g. invalid_credentials).
Offending request field for validation errors, when known.
Human-readable message.
Example generated
{ "code": "example", "field": "example", "message": "example"}