---
title: "Create Receipt"
method: POST
path: "/v2/company/{company_id}/receipts"
tags: ["Receipts"]
---

# Create Receipt

`POST /v2/company/{company_id}/receipts`

## Path parameters

- `company_id` integer, required

## Headers

- `x-api-version` string — An API version
- `x-company-guid` string, uuid

## Request body

- object
  - `location_id` integer, required — The 7shifts location_id this receipt belongs to
  - `receipt_date` string, date-time, required — Receipt create date time. UTC date time in ISO8601 format
  - `net_total` integer, required — The net total of the receipt pre tax, post-discounts, pre tips. In cents
  - `gross_total` integer, nullable — The gross total of the receipt in cents
  - `total_receipt_discounts` integer, nullable — The total discounts of the receipt in cents
  - `tips` integer, nullable — Total tips in cents
  - `external_user_id` string, nullable — External user ID of the sales receipt in your system (must be unique per 7shifts location).
  - `revenue_center` string, nullable — Label for the revenue centre for the receipt
  - `receipt_lines` object[], required — Receipt line items
    - `external_item_id` string, required — The item ID available to the client
    - `external_category_ids` string[], required — The list of category IDs available to the client
    - `quantity` integer, required — The quantity of this item
    - `price` integer, required — The item price in cents
    - `gross_item_price` integer, required — The item gross price in cents
    - `net_item_price` integer, required — The item net price pre tax, post-discounts, pre tips. In cents
    - `item_discount` integer, required — The item discount. In cents
    - `status` 'open' | 'closed' | 'voided' | 'deleted', required — The item status
    - `created` string, date-time — Line item create date time. UTC date time in ISO8601 format
  - `tip_details` object[], required — Tip line items
    - `type` 'cc' | 'cash' | 'declared' | 'net' | 'total' | 'gratuity', required — Tip type
    - `value` integer, required — Tip value. In cents
  - `status` 'open' | 'closed' | 'voided' | 'deleted', required — Status of the receipt
  - `order_type` 'dine_in' | 'delivery' | 'take_out', nullable — Order type
  - `dining_option` string, nullable — Dining option

## Response `202`

Created

- object
  - `uuid` string, uuid

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `500` — Server Error

---

[API](https://skmtc.net/7shifts/apis/7shifts-api.md) · [All operations](https://skmtc.net/7shifts/apis/7shifts-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/7shifts/7shifts-api/revisions/96a02ef888ab/schema)
