getInvoicePreviewHtml
getInvoicePreviewHtmlReturns the HTML preview of an invoice exactly as it appears to the customer. Use to verify the customer-facing layout before sending.
Instructions
Get the rendered HTML preview of an invoice. Returns the invoice as it would appear when sent to the customer. Use this to show the customer-facing invoice layout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgId | No | Organization ID (auto-populated). | |
| invoiceId | Yes | The ID of the invoice to preview. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow |