---
title: "Set Receipt Cost"
method: POST
path: "/api/inventory/receipts/{receipt_id}/cost"
tags: ["inventory"]
---

# Set Receipt Cost

`POST /api/inventory/receipts/{receipt_id}/cost`

## 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/{receipt_id}/cost`
- Auth: none declared

Enter what we paid per unit for one product on a delivery, once the supplier's invoice is in.

## Path parameters

- `receipt_id` integer, required

## Request body

- ReceiptCostRequest
  - `product_id` integer, required
  - `unit_cost` union, required
    - number
    - string
  - `notes` string

## Response `200`

OK

- ReceiptCostResponse
  - `updated` integer, required

## Changes

> 22 revisions in range; 1 not diffed.

- **2026-10-31** `1b3bacde7088`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/changes/api/inventory/receipts/:receipt_id/cost/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)
