---
title: "Create a estimate"
method: POST
path: "/estimates"
tags: ["estimates"]
---

# Create a estimate

`POST /estimates`

## Response `201`

Successful creation

- EstimateResponse — Represents a cost estimate generated for a patient ahead of a date of service, showing the total amount owed in cents, whether and when the patient has read it, and which party is billed first. Estimates are typically produced by a third-party provider, linked to a patient, an appointment, and an uploaded file, and a visibility flag controls whether the patient can see it.
  - `_id` string — Luma's internal ID of an object.
  - `user` string — The ID of the root account user.
  - `deleted` 0 | 1 — Flag for logical deletion where 1 means deleted.
  - `createdBy` string — The ID of the user who created this object.
  - `updatedBy` string — The ID of the user who updated this object.
  - `createdAt` string, date-time — The date/time when this object was created.
  - `updatedAt` string, date-time — The date/time when this object was updated.
  - `date` string, date-time — The date of service.
  - `totalPatientAmountInCents` number — The total amount for the patient.
  - `readAt` string, date-time — The time that the estimate was read.
  - `payCode` object — The paycode from estimate.
    - `source` 'change-healthcare'
    - `value` string
  - `patient` string — ID of a patient.
  - `appointment` string — ID of an appointment.
  - `fileUpload` string — ID of a file upload.
  - `message` string — ID of a message.
  - `visible` boolean — Flag that indicates if estimate is visible or not to the patient.
  - `source` 'change-healthcare'
  - `searchIds` string[] — Search ID index.

## Other responses

- `401` — Not authenticated
- `403` — Access token does not have the required scope

---

[API](https://skmtc.net/lumahealth/apis/rest-service.md) · [All operations](https://skmtc.net/lumahealth/apis/rest-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lumahealth/rest-service/revisions/d3c75c2a2f1d/schema)
