Finance · send_payment_reminder
Send payment reminder
Send an unpaid invoice reminder (four escalation levels).
- Price
- included
- Requirements
- Gmail or Outlook or Resend
- set it up in Settings → Integrations
- Human approval
- Yes, by default
- outside-facing write: a human validates
Input
| Field | Type | Description |
|---|---|---|
| reminders | array | Batch relances: the FULL list of reminders to send in one call (preferred whenever there is more than one). Each item takes the same fields as a single reminder. When provided, the top-level single-reminder fields are ignored. |
| invoiceId | string | UUID of the invoice in the DB (optional) |
| invoiceNumber * | string | Human-readable invoice number |
| counterparty * | string | Customer or supplier name |
| amount * | number | Invoice amount |
| currency | string | Currency code (default: EUR) |
| dueDate * | string | Invoice due date (ISO 8601) |
| customerEmail * | string | Recipient email address |
| level * | 1 | 2 | 3 | 4 | Reminder escalation level (1=polite, 4=pre-legal) |
| language | fr | en | Email language (default: fr) |
Call this tool
Through the HTTP API, or from the MCP server with the run meta-tool.
curl https://api.ezyagents.fr/gateway/v1/run \
-H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
-d '{"tool":"send_payment_reminder","input":{"reminders":[],"invoiceId":"…","invoiceNumber":"…","counterparty":"…"}}'$
run({ "tool": "send_payment_reminder", "input": {"reminders":[],"invoiceId":"…","invoiceNumber":"…","counterparty":"…"} })