---
title: "Mark Invoice Sent"
method: POST
path: "/api/finance/invoices/{invoice_id}/mark-sent"
tags: ["finance"]
---

# Mark Invoice Sent

`POST /api/finance/invoices/{invoice_id}/mark-sent`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/finance/invoices/{invoice_id}/mark-sent`
- Auth: none declared

v1 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`).

## Path parameters

- `invoice_id` string, uuid, required

## Request body

- MarkSentRequest, nullable: 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.
  - `sent_via` 'mail' | 'email_outside_roost' | 'agency_portal', nullable
  - `sent_on` string, date, nullable
  - `note` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-16** `f51f34f6c85c`: 1 info
  - added optional request body

[Operation history](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/changes/api/finance/invoices/:invoice_id/mark-sent/post.md)

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
