---
title: "Create quote"
method: POST
path: "/invoice/create-quote"
tags: ["Invoice"]
---

# Create quote

`POST /invoice/create-quote`

Use this BillingServ API endpoint to create quote. Review the response for the operation result or validation errors.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `duedate` string, required — Format: MM-DD-YYYY.
  - `customer_id` integer, required
  - `comments` string
  - `record` InvoiceRecordRequest — Optional invoice line-item arrays. Entries at the same index form one line item.
    - `item` string[]
    - `description` string[]
    - `price` number[]
    - `quantity` integer[]
    - `tax_class` unknown[]
      - unknown
    - `tax` number[]

## Response `200`

OK

- ApiResponse
  - `success` boolean

## Other responses

- `400` — The customer does not have a usable mailing address
- `401` — Missing or invalid API key
- `403` — Authenticated key does not have permission for this endpoint
- `404` — Customer not found or not available to this API account
- `409` — Idempotency key conflict or request already in progress
- `422` — Validation error
- `500` — Quote creation failed

---

[API](https://skmtc.net/b-cdn/apis/billingserv-api-v2.md) · [All operations](https://skmtc.net/b-cdn/apis/billingserv-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/b-cdn/billingserv-api-v2/revisions/76cfbed5eb40/schema)
