---
title: "Send Sales Invoice"
method: POST
path: "/api/v1/sales-invoices/send-all/{invoiceId}"
tags: ["Documents", "Sales Invoice"]
---

# Send Sales Invoice

`POST /api/v1/sales-invoices/send-all/{invoiceId}`

## Request

- The document declares no server URL.
- Auth: API key in header `client_id` and API key in header `client_secret`

## Path parameters

- `invoiceId` string, required

## Request body

- object
  - `email` object
    - `to` string[]: indicate the first recipient of the email
    - `cc` string[]: indicate other people that want to be informed with the notification as well
  - `whatsapp` object
    - `number` string[]: Phone number that will receive the message from WhatsApp
  - `sms` object
    - `number` string[]: Phone number that will receive the message from SMS

## Response `200`

Successful operation

- object
  - `data` SendSalesInvoiceResponseData, required
    - `email` object
      - `status` integer
      - `message` string
    - `whatsapp` object
      - `status` integer
      - `message` string
    - `sms` object
      - `status` integer
      - `message` string
  - `status_code` integer, required

## Other responses

- `400`: Bad request
- `default`: Unsuccessful operation

---

[API](https://skmtc.dev/paper/apis/paper-open-api.md) - [All operations](https://skmtc.dev/paper/apis/paper-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paper/apis/paper-open-api/revisions/243ba6121589?raw)
