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
| Name | Type | Description |
|---|---|---|
| invoice_number integer required | integer | Booked invoice number from list_unpaid_invoices. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "e_conomic_read",
"arguments": {
"operation": "get_invoice_pdf",
"arguments": {
"invoice_number": 1
}
}
}
} Example response
{
"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
}