Generate Document PDF
report_document_pdfGenerate a downloadable PDF for a document or invoice. Provide the document ID to receive a download URL.
Instructions
Use this when the user wants to generate and download a PDF version of a document/invoice. Returns a download URL for the PDF file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | The unique identifier of the document/invoice to generate PDF for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether PDF was generated successfully | |
| size | No | PDF file size in bytes | |
| message | No | Status message |