---
title: "POST /api/Invoice/insert"
method: POST
path: "/api/Invoice/insert"
tags: ["Invoices"]
---

# POST /api/Invoice/insert

`POST /api/Invoice/insert`

## Request body

- Composite
  - `invoices` DTO[], nullable
    - `id` integer
    - `vendor_Id` integer
    - `code` string, nullable
    - `status` string, nullable
    - `amount` number, double
    - `sendType` string, nullable
    - `lang` string, nullable
    - `customer_Name` string, nullable
    - `customer_Mobile` string, nullable
    - `customer_Email` string, nullable
    - `ref_Number` string, nullable
    - `currency_Code` string, nullable
    - `discount_Type` string, nullable
    - `discount_Amount` number, double
    - `discount_Amount_Total` number, double
    - `expiry_Date` string, nullable
    - `attachment` string, nullable
    - `remind_After` integer
    - `comment` string, nullable
    - `terms_Condition_Enabled` boolean
    - `terms_Condition` string, nullable
    - `key` string, nullable
    - `items` DTOItem[], nullable
      - `id` integer
      - `name` string, nullable
      - `quantity` integer
      - `amount` number, double
    - `transactions` TransactionDTO[], nullable
      - `request_Type` string, nullable
      - `type` string, nullable
      - `invoice_Id` integer
      - `status` string, nullable
      - `response` string, nullable
      - `paymentGateway` string, nullable
      - `paymentGatewayCode` string, nullable
      - `transactionId` string, nullable
      - `trackId` string, nullable
      - `referenceId` string, nullable
      - `paymentId` string, nullable
      - `amount` number, double
      - `ipAddress` string, nullable
      - `currencyCode` string, nullable
      - `createDate` string, nullable
    - `transactionID` string, nullable
    - `paymentGateway` string, nullable
    - `paymentGatewayCode` string, nullable

## Response `200`

Success

---

[API](https://skmtc.net/sadadpay/apis/sadad-api.md) · [All operations](https://skmtc.net/sadadpay/apis/sadad-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sadadpay/sadad-api/versions/a4b585b2f583/schema)
