Skip to main content

Function: correctInvoice()

correctInvoice(input): Promise<ManageResult>

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

Billing-domain staff: correct a BACKFILLED invoice's number, issue/due dates, and total (keeps Σlines = total, and settlement in step with the money already applied).

Parameters

input

dueDate

string

invoiceId

string

invoiceNumber

string

issueDate

string

totalUsd

number

Returns

Promise<ManageResult>