Skip to main content

Function: createSupplemental()

createSupplemental(invoiceId, expectedTotalCents, expectedLinesKey): Promise<ManageResult & object>

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

Billing-domain staff: create the supplemental invoice (a draft) for a drifted parent — "Bill late hours". expectedTotalCents is the figure the operator confirmed in the preview (required); the parent remains payable. Sending the draft routes through performSend's delta staleness check.

Parameters

invoiceId

string

expectedTotalCents

number

expectedLinesKey

string

Returns

Promise<ManageResult & object>