Send payment reminder
Email a Ponaglenie, Monit or Wezwanie do zapłaty for an unpaid invoice.
MCP tool ifirma_write → send_payment_reminder
write Confirm
Creates the reminder from the invoice and emails it to the buyer with a PDF. reminder is before the due date, monit is after it, and demand is the formal Wezwanie do zapłaty, which iFirma recommends sending by registered letter. The seller gets a copy unless send_copy_to_me is false. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| invoice_id integer required | integer | Invoice ID from list_invoices. |
| type string required | string | reminder, monit or demand. |
| send_copy_to_me boolean | boolean | Copy to the seller email. Default: true. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "ifirma_write",
"arguments": {
"operation": "send_payment_reminder",
"arguments": {
"invoice_id": 7020104,
"type": "monit",
"send_copy_to_me": true
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"invoice_id": 7020104,
"type": "monit",
"sent_to": "office@harborprint.example",
"copy_sent_to_me": true
},
"isError": false
}