Skip to main content

Function: getInvoicePdfUrl()

getInvoicePdfUrl(invoiceId): Promise<{ ok: true; url: string; } | { error: string; ok: false; }>

Defined in: src/server/actions/invoiceManage.ts:36

Read-only: a short-lived signed URL for an invoice's stored PDF, for the inline modal viewer.

Parameters

invoiceId

string

Returns

Promise<{ ok: true; url: string; } | { error: string; ok: false; }>