---
title: "Stamp Sales Invoice"
method: POST
path: "/api/v1/sales-invoice/stamps"
tags: ["Documents", "Sales Invoice"]
---

# Stamp Sales Invoice

`POST /api/v1/sales-invoice/stamps`

## Request

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

## Request body

- object
  - `invoice_number` string, required: The number of the invoice
  - `vis_llx` number, double: Coordinate for QR Specimen for the PDF file. If you don’t fill this part, the system will automatically assign based on default setting
  - `vis_lly` number, double: Coordinate for QR Specimen for the PDF file. If you don’t fill this part, the system will automatically assign based on default setting
  - `vis_urx` number, double: Coordinate for QR Specimen for the PDF file. If you don’t fill this part, the system will automatically assign based on default setting
  - `vis_ury` number, double: Coordinate for QR Specimen for the PDF file. If you don’t fill this part, the system will automatically assign based on default setting
  - `vis_signature_page` integer: Indicate which page that will be stamped
  - `retry_flag` boolean: Use this if the first stamping is not successful, defaults to false
  - `send` SendInvoiceOptions
    - `email` boolean: Flag to determine if the invoice should be sent via email
    - `whatsapp` boolean: Flag to determine if the invoice should be sent via WhatsApp
    - `sms` boolean: Flag to determine if the invoice should be sent via SMS.
  - `file` string
  - `stamped_pdf` string

## Response `200`

Successful operation

- object
  - `data` StampSalesInvoiceData, required
    - `created_at` string, required
    - `number` string, required
    - `pdf_link` string, required
    - `quota` integer, required
    - `sn_number` string, required
    - `type` string, required
    - `updated_at` string, required
  - `message` string, required
  - `status` 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)
