Get invoice PDF

Download link for the PDF of a booked invoice.

MCP tool e_conomic_read → get_invoice_pdf

read

Returns the PDF of a booked invoice as a download link that works for a short time. The PDF is the one e-conomic produces for the invoice, with its layout.

Parameters

Parameters: get_invoice_pdf
NameTypeDescription
invoice_number integer required integer Booked invoice number from list_unpaid_invoices.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "e_conomic_read",
    "arguments": {
      "operation": "get_invoice_pdf",
      "arguments": {
        "invoice_number": 1
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "invoice_number": 1038,
    "pdf_url": "https://files.cotlet.dev/e-conomic/invoice-1038.pdf",
    "expires_in_seconds": 900
  },
  "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.