Skip to main content

Function: recomputeInvoice()

recomputeInvoice(invoiceId): Promise<ManageResult>

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

Owner-only: "Correct" an unsent draft in place — recompute its lines from the current hours, keeping the same number and no "replaces" note (for already-sent invoices use reissueInvoice).

Parameters

invoiceId

string

Returns

Promise<ManageResult>