---
title: "Receive"
method: POST
path: "/api/inventory/receipts"
tags: ["inventory"]
---

# Receive

`POST /api/inventory/receipts`

## Request

- Base URL: `https://api.electricair.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.electricair.io/api/inventory/receipts`
- Auth: none declared

## Request body

- ReceiveRequest
  - `product_id` integer, required
  - `quantity` integer
  - `serials` string[]
  - `supplier` string
  - `reference` string
  - `received_on` string, date, nullable
  - `location_id` integer, nullable
  - `unit_cost` union
    - number
    - string
  - `notes` string

## Response `200`

OK

- ReceiveResponse
  - `receipt_id` integer, required
  - `units` StockUnitSchema[], required
    - `id` integer, required
    - `product_id` integer, required
    - `product_name` string, required
    - `serial_number` string, required
    - `status` string, required
    - `status_label` string, required
    - `location` LocationRefSchema
      - `id` integer, required
      - `code` string, required
      - `name` string, required
      - `path` string, required
      - `kind` string, required
    - `unit_cost` number, nullable
    - `cost_source` string
    - `received_on` string, date, nullable
    - `receipt_reference` string
    - `supplier` string
    - `job` UnitJobSchema
      - `id` integer, required
      - `number` string, required
      - `customer_name` string, required
    - `installed_at` string, date-time, nullable
    - `packed_at` string, date-time, nullable
    - `disposition_reference` string, required
    - `notes` string, required

## Changes

> 22 revisions in range; 1 not diffed.

- **2026-10-31** `1b3bacde7088`: 1 info
  - added the optional property `units/items/cost_source` to the response with the `200` status
- **2026-10-28** `558d42db3b2e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/changes/api/inventory/receipts/post.md)

---

[API](https://skmtc.dev/electricair/apis/electric-air-autoquote-api.md) - [All operations](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/llms.txt) - [OpenAPI document](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/revisions/a13d832a5676?raw)
