Skip to main content

Function: getInvoiceLineItems()

getInvoiceLineItems(invoiceId): Promise<{ items: InvoiceLineItemView[]; ok: true; } | { error: string; ok: false; }>

Defined in: src/server/actions/ar.ts:415

Read-only: one invoice's line items, for the Billed drill-down's View accordion. Fetched on expand rather than shipped for every row — the page lists every invoice ever sent.

Parameters

invoiceId

string

Returns

Promise<{ items: InvoiceLineItemView[]; ok: true; } | { error: string; ok: false; }>