GET /v1/recurring-invoices
const url = 'https://api.asap.cool/v1/recurring-invoices';const options = {method: 'GET'};
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/recurring-invoicesParameters
Section intitulée « Parameters »Query Parameters
Section intitulée « Query Parameters »Page size, 1..=100 (defaults to 50).
Opaque cursor from a previous page’s meta.next_cursor.
Responses
Section intitulée « Responses »Page of recurring templates (newest first).
Public projection of a [RecurringInvoice].
object
Whether each auto-sent invoice is debited off-session via a stored SEPA
mandate (per-series opt-in; defaults to false).
Whether generated drafts are finalized and sent automatically.
Target contact.
RFC3339 creation timestamp.
Cadence (monthly/quarterly/yearly).
Stable identifier.
Line items snapshot (JSONB array).
object
Next generation date (YYYY-MM-DD).
Optional notes for generated documents.
Operation nature (biens/services/mixte) applied to generated
documents; null when unset.
RFC3339 pause timestamp, or null when active.
Lifecycle status derived from paused_at: "active" or "paused".
Optional title for generated documents.
RFC3339 last-update timestamp.
Example generated
[ { "auto_collect_sepa": true, "auto_send": true, "contact_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "created_at": "example", "frequency": "example", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "items": {}, "next_generation_date": "example", "notes": "example", "operation_nature": "example", "paused_at": "example", "status": "example", "title": "example", "updated_at": "example" }]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"}Invalid limit or cursor.
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"}