Finance · send_payment_reminder
Relance de paiement
Envoie une relance de facture impayée (quatre niveaux).
- Prix
- inclus
- Prérequis
- Gmail ou Outlook ou Resend
- à brancher dans Paramètres → Intégrations
- Validation humaine
- Oui, par défaut
- écriture vers l'extérieur : un humain valide
Entrée
| Champ | 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) |
Appeler cet outil
Via l'API HTTP, ou depuis le serveur MCP avec le méta-outil run.
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":"…"} })