---
title: "Email the invoice and mark it sent"
method: POST
path: "/invoices/{id}/send"
tags: ["Invoices"]
---

# Email the invoice and mark it sent

`POST /invoices/{id}/send`

## Request

- Base URL: `https://app.buildworkpro.com/api/v1`
- URL: `https://app.buildworkpro.com/api/v1/invoices/{id}/send`
- Auth: HTTP bearer

Renders the invoice PDF, emails it, and transitions draft → sent. Omitted recipient defaults to the linked contact's email.

## Path parameters

- `id` integer, required

## Headers

- `Idempotency-Key` string, uuid

## Request body

- object
  - `recipientEmail` string, email
  - `ccEmails` string[]
  - `subject` string
  - `body` string
  - `templateId` integer

## Response `200`

Sent

- object
  - `data` Invoice, required
    - `id` integer, required
    - `tenantId` integer, required
    - `invoiceNumber` string, required
    - `projectId` integer, nullable, required
    - `contactId` integer, nullable, required
    - `status` 'draft' | 'sent' | 'partial' | 'paid' | 'voided', required
    - `issueDate` string, date-time, nullable, required
    - `dueDate` string, date-time, nullable, required
    - `subtotal` string, required
    - `taxAmount` string, required
    - `total` string, required
    - `amountPaid` string, required
    - `balanceDue` string, required
    - `notesToCustomer` string, nullable, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `meta` ResponseMeta, required
    - `request_id` string: Server-generated request identifier
    - `pagination` PaginationMeta
      - `cursor` string, nullable, required: Opaque cursor for the next page; null when no more results
      - `has_more` boolean, required: Whether more pages are available after this one
      - `count` integer, required: Items in this page

## Other responses

- `404`: Error
- `409`: Error
- `422`: Error

---

[API](https://skmtc.dev/buildworkpro/apis/buildworkpro-api.md) · [All operations](https://skmtc.dev/buildworkpro/apis/buildworkpro-api/llms.txt) · [OpenAPI document](https://skmtc.dev/buildworkpro/apis/buildworkpro-api/revisions/441cf40012f7?raw)
