---
title: "Get inventory lots for an item"
method: GET
path: "/Inventory/{id}/lots"
tags: ["Inventory"]
---

# Get inventory lots for an item

`GET /Inventory/{id}/lots`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/Inventory/{id}/lots`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/Inventory/:id/lots/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Query parameters

- `isActive` boolean

## Response `200`

List of inventory lots with quantities and expiration dates

- InventoryLotDto[]
  - `id` string
  - `inventoryItemId` string
  - `lotNumber` string, nullable
  - `expirationDate` string, date-time, nullable
  - `manufacturedDate` string, date-time, nullable
  - `manufacturer` string, nullable
  - `quantityOnHand` union
    - number, double
    - string, double
  - `originalQuantity` union
    - number, double
    - string, double
  - `containerId` string, nullable
  - `unitCost` union
    - number, double
    - string, double
  - `isActive` boolean
  - `isOverdraft` boolean: The item's overdraft lot (ITE-1410): holds the shortfall of dispenses made past the stock on hand, so its quantity is zero or negative. Never offer it as a lot to dispense from; show it with an "Overdraft" badge.
  - `overdraftApplied` OverdraftSettlementDto: What a receive (or a manual settle) applied to the item's overdraft lot (ITE-1410): the receive notice reads "5 applied to overdraft (dispensed 9/30–10/12)".
    - `overdraftLotId` string
    - `sourceLotId` string, nullable: The lot whose stock paid it; null for a write-off by stock count.
    - `quantity` union
      - number, double
      - string, double
    - `overdraftBalance` union: The overdraft lot's balance afterwards; 0 means it is settled and closed.
      - number, double
      - string, double
    - `dispenseCount` union
      - integer
      - string, int32
    - `firstDispensedAt` string, date-time, nullable
    - `lastDispensedAt` string, date-time, nullable
  - `overdraftSettlementApprovalId` string, nullable: Set on a lot-create response when the clinic reviews overdraft settlements (ITE-1410, Review mode): the pending inventory approval that would apply decimal? InventoryLotDto.OverdraftSettlementPendingQuantity of this lot to the item's overdraft. Nothing has moved yet.
  - `overdraftSettlementPendingQuantity` union
    - number, double
    - string, double
  - `receivedDate` string, date-time
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Changes

- **2026-10-21** `85ee96c0bb96`: 12 info
  - added the optional property `items/isOverdraft` to the response with the `200` status (media type: text/plain)
  - added the optional property `items/isOverdraft` to the response with the `200` status (media type: application/json)
  - added the optional property `items/isOverdraft` to the response with the `200` status (media type: text/json)
  - added the optional property `items/overdraftApplied` to the response with the `200` status (media type: text/plain)
  - …8 more

[Operation history](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/changes/Inventory/:id/lots/get.md)

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
