Mark Invoice Sent
Changed onv1 parity: POST /:id/mark-sent (packages/api/src/routes/invoices.ts: 1713-1720). Gated by invoice_lifecycle.assert_sendable — v1's three send-path gates (draft-only, org lifecycle, balance) all resolve to HTTP 422 there, not the generic 409 _handle_domain_errors gives ArSendBlocked elsewhere (that mapping is for the AR pipeline's own internal use, never exercised through a route today), so both InvoiceNotDraft and ArSendBlocked are mapped to 422 here directly.
The optional body is the design's "Mark sent" form (MarkSentRequest, open item S11-1, 2026-11-15): kept on the invoice as a record, moving no date. A "Sent on" after today is 422 (SentOnInTheFuture).
Request
- Base URLhttps://api.pigeonly.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Path parameters
Request body
The design's "Mark sent" form (Finance Invoice Tools.dc.html; open item S11-1, 2026-11-15): how a draft that went out some other way was sent, on which day, and a note. Every field is optional and the body itself may be left off, so the invoice record's one-press "Mark Sent" keeps working. A record only. Frederick, 2026-11-15: "Due date is based on invoice not when it's sent." Ruling 2026-11-15-a-due-date-counts-from-the-invoice-date.
Response
Successful Response
Changes
- info
added optional request body
- info