Get invoice PDF link
Get a download link for the invoice PDF.
MCP tool fatture_in_cloud_read → get_invoice_pdf
read
Returns a link to the invoice PDF. Fatture in Cloud changed its document download URLs for security reasons and they expire, so fetch the link right before you use it.
Parameters
| Name | Type | Description |
|---|---|---|
| company_id integer | integer | Company ID. Optional when your account has one company. |
| invoice_id integer required | integer | Invoice ID from list_invoices or create_invoice. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "fatture_in_cloud_read",
"arguments": {
"operation": "get_invoice_pdf",
"arguments": {
"invoice_id": 1
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"invoice_id": 88120,
"url": "https://files.example.com/invoice-14.pdf",
"expires": true
},
"isError": false
}