---
title: "Create Sales Invoice"
method: POST
path: "/store-invoice"
---

# Create Sales Invoice

`POST /store-invoice`

## Headers

- `client_id` string, required
- `client_secret` string, required

## Request body

- object
  - `invoice_date` string, date, required — Invoice Date, using DD-MM-YYYY format
  - `due_date` string, date, required — Due Date of Invoice, using DD-MM-YYYY format
  - `number` string, required — Invoice Number
  - `customer` object, required — Customer Detail Information
    - `id` string — Customer ID
    - `name` string — Customer Name
    - `email` string — Customer Email
    - `phone` string — Customer Phone Number
  - `items` object[], required — Item Details
    - `name` string — Item Name
    - `description` string — Item Description
    - `quantity` integer — Item Quantity
    - `price` integer — item price
    - `discount` integer — Discount
    - `discount_type` string — `amount` or `percentage`
    - `tax_id` string — Item's Tax ID
    - `additional_info` object
    - `uom_code` string — Unit of Measurement
  - `signature_text_header` string — signature text header
  - `signature_text_footer` string — signature text footer
  - `terms_condition` string — terms and condition
  - `notes` string — Notes
  - `send` object, required
    - `email` boolean — email
    - `whatsapp` boolean — whatsapp
    - `sms` boolean
  - `additional_info` object — additional info
  - `additional_fee` object[]
    - `delivery_fee` number, double

## Response `201`

201

- object
  - `status_code` integer
  - `data` object
    - `id` string
    - `number` string
    - `payper_url` string
    - `pdf_url` string
    - `pdf_url_short` string
    - `status_send` object
      - `email` boolean
      - `whatsapp` boolean
      - `sms` boolean

## Other responses

- `400` — 400

---

[API](https://skmtc.net/paper/apis/version-1.md) · [All operations](https://skmtc.net/paper/apis/version-1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paper/version-1/revisions/3c426ced31a3/schema)
