get-invoice-document-links
Get the links to an invoice's generated document without changing the invoice. Returns invoice with only id, companyId, status, invoiceNumber, acDocumentId, crDocumentId, documentPreviewUrl (the document's thumbnail) and documentOriginalUrl (the original file). Both links are null until the invoice is submitted and Classic has generated its document. Use preview-invoice for the full invoice details, or generate-invoice-pdf to submit a draft and get its links.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "get-invoice-document-links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Invoice ID, as returned by list-invoices |