Send invoice by email

Email an invoice to the client, with the PDF attached.

MCP tool fakturownia_write → send_invoice_email

write Confirm

Emails one invoice to up to 5 addresses, with the PDF attached when email_pdf is true. With KSeF on, Fakturownia emails an invoice only after it has a KSeF number. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: send_invoice_email
NameTypeDescription
invoice_id integer required integer Invoice ID from list_invoices.
email_to array array Up to 5 recipient addresses. Default: the client email.
email_cc array array Addresses in copy.
email_pdf boolean boolean Attach the PDF. Default: true.
update_buyer_email boolean boolean Save email_to as the client email.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "fakturownia_write",
    "arguments": {
      "operation": "send_invoice_email",
      "arguments": {
        "invoice_id": 1
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "invoice_id": 5120,
    "status": "sent",
    "email_to": [
      "billing@bluefern.example"
    ],
    "email_pdf": 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.