---
title: "Stock-only availability pre-check for a charge line on the estimate (design
§5 / §9.1): are the BillableItem's components on hand at the line's quantity?
Read-only — no validate-pass, no stock movement. Mirrors the invoice-side
check off the same `CheckAvailabilityAsync`, so the estimate UI can flag
a short charge before the user opens the perform modal."
method: GET
path: "/Estimates/{id}/items/{lineId}/availability"
tags: ["Estimates"]
---

# Stock-only availability pre-check for a charge line on the estimate (design
§5 / §9.1): are the BillableItem's components on hand at the line's quantity?
Read-only — no validate-pass, no stock movement. Mirrors the invoice-side
check off the same `CheckAvailabilityAsync`, so the estimate UI can flag
a short charge before the user opens the perform modal.

`GET /Estimates/{id}/items/{lineId}/availability`

## Path parameters

- `id` string, required
- `lineId` string, required

## Response `200`

OK

- BillableItemAvailabilityDto
  - `billableItemId` string
  - `quantity` union — The line quantity the required amounts were computed against.
    - number, double
    - string, double
  - `isAvailable` boolean — True only when every inventory component has enough stock.
  - `components` BillableItemComponentAvailabilityDto[]
    - `componentId` string
    - `inventoryItemId` string
    - `itemName` string
    - `trackLots` boolean — When false, stock is not gated and the component is always available.
    - `required` union — QuantityMultiplier × line quantity.
      - number, double
      - string, double
    - `available` union — Sum of active lots' QuantityOnHand for the component's item.
      - number, double
      - string, double
    - `isAvailable` boolean
    - `shortBy` union — How far short of decimal BillableItemComponentAvailabilityDto.Required stock is (0 when available or ungated).
      - number, double
      - string, double

## Other responses

- `400` — Bad Request
- `404` — Not Found

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/versions/a905bde4e796/schema)
