Interface: SkippedInvoiceResult
Defined in: src/server/services/invoice/send.ts:70
An invoice id the send RPC passed over without action because it was not in a sendable state. Distinct from HeldInvoiceResult (a gate failure on a draft) and StaleInvoiceResult (a recompute mismatch) — these were simply not eligible.
Properties
id
id:
string
Defined in: src/server/services/invoice/send.ts:71
Invoice UUID (or an unrecognized id) that was skipped.
reason
reason:
"not_found"|"already_sent"|"void"
Defined in: src/server/services/invoice/send.ts:72
'not_found' (no such invoice for this company), 'already_sent' (the invoice
is past draft — its status is sent/paid/partial/overdue — so it cannot be sent through this path;
resending an issued invoice is a separate action), or 'void' (voided invoices cannot be sent).