Email invoice

Send a stamped invoice or credit note to the client by email.

MCP tool facturama_write → email_invoice

write Confirm

Sends the document through Facturama's email to the address you give, or to the client's saved email when you give none. Fails with a not-found error when the ID does not exist. Calling it twice sends two emails. 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 or create_invoice.
emails array array Recipient addresses. Default: the email saved on the client.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facturama_write",
    "arguments": {
      "operation": "email_invoice",
      "arguments": {
        "invoice_id": "invoice_8c41d2"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "invoice_id": "Y61TLX-Ls_ZJFqzjanPN1w2",
    "sent_to": [
      "billing@estudionorte.example"
    ],
    "sent": true
  },
  "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.