invoicepig_generate_pdf
ChatGPTUse this when the user wants one invoice PDF generated from normalized invoice fields. Call it before claiming a file exists, then preserve the returned resource link or clickable download URL exactly and direct the user to the attached InvoicePig download card. Use for any source the agent has already read, including prose, receipts, quotes, purchase orders, or timesheets. For branding, pass an already known saved logoId from the selected workspace; omit logoId for that workspace's default or use null for no logo. Never send base64 or a preview URL. This tool does not fetch documents, perform OCR, or save invoice history; use invoicepig_generate_pdf_batch for multiple invoices.






