Skip to main content

Function: reissueInvoice()

reissueInvoice(invoiceId): Promise<ManageResult & object>

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

Owner-only: correct an issued invoice by voiding it and reissuing a fresh one for the same week, recomputed from the CURRENT hours (so a stale invoice billed on the old contracted-hours logic is corrected to actual). The replacement's PDF prints a prominent "Replaces INV-XXXX — please disregard it" notice and links back to the superseded invoice. Paid/void/backfilled can't reissue.

Parameters

invoiceId

string

Returns

Promise<ManageResult & object>