Skip to main content

Interface: ManageResult

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

Invoice-record management for the review tab — void / delete / resend / correct. Owner-only, company-scoped. Void reuses the existing reversible-lock RPC; delete is a soft delete; resend goes through the shared email outbox; correct edits the header fields (and the single line, for the one-line backfilled invoices) so historical-load fixes don't require a re-run.

Properties

error?

optional error?: string

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


ok

ok: boolean

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


skipReason?

optional skipReason?: "unconfigured" | "disabled"

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


status?

optional status?: "sent" | "skipped" | "failed"

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