Email an invoice

Email an invoice to a client as a PDF or a link.

MCP tool aroflo_write → email_invoice

write Confirm

Sends the email from your AroFlo account and returns who it went to and when. The invoice is saved first, because AroFlo needs a saved invoice to email. It usually follows approve_invoice. A sent email cannot be recalled. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: email_invoice
NameTypeDescription
invoice_id string required string Invoice ID from list_invoices.
to string required string Recipient email address.
format string string pdf attaches the invoice, link adds a link to view it online. Defaults to pdf.
message string string Text above the invoice in the email.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "aroflo_write",
    "arguments": {
      "operation": "email_invoice",
      "arguments": {
        "invoice_id": "inv_2041",
        "to": "accounts@harborcafe.example",
        "format": "pdf"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "invoice_id": "inv_2041",
    "invoice_no": "2041",
    "status": "Approved",
    "sent_to": "accounts@harborcafe.example",
    "format": "pdf",
    "sent_at": "2026-10-23T09:12:00+11:00"
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.