Skip to main content

Interface: HeldInvoiceResult

Defined in: src/server/services/invoice/send.ts:55

An invoice the send RPC refused to send because a hard/soft gate failed — it was NOT issued and its status is unchanged. The operator must resolve the cause and retry.

Properties

id

id: string

Defined in: src/server/services/invoice/send.ts:56

Invoice UUID that was held back.


reason

reason: "no_billing_contact" | "unapproved_hours"

Defined in: src/server/services/invoice/send.ts:57

'no_billing_contact' (no active billing/admin contact to address the bill to) or 'unapproved_hours' (the bill includes hours not yet approved; clears once the operator acknowledges via the acknowledgeUnapproved soft-gate override on performSend).


unapprovedHours?

optional unapprovedHours?: number

Defined in: src/server/services/invoice/send.ts:58

For 'unapproved_hours': count of still-unapproved hours on the bill.