# Search Inventory by HCPCS

> Perform Search Inventory by HCPCS through Bonafide.

Source: [https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_search_inventory_by_hcpcs](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_search_inventory_by_hcpcs)

Integration: [Bonafide](https://genhealth.ai/docs/workflows/integrations/bonafide.md)

- Handler: `bonafide_search_inventory_by_hcpcs`

- Connection type: `bonafide`

## Inputs

- `hcpcs` — Hcpcs (expression, required)
  Required literal value or workflow expression.
- `office` — Office (expression)
  Optional literal value or workflow expression.

## Outputs

- `success` — Success
- `items` — Items
- `total_count` — Total Count
- `message` — Message
- `error` — Error
- `error_message` — Error Message

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `read`
- Confirmation recommended: no
- Retry safe: yes
- Dry run supported: no

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "required": [
    "hcpcs"
  ],
  "properties": {
    "hcpcs": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "office": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "items": {},
    "message": {},
    "success": {},
    "total_count": {},
    "error_message": {}
  },
  "additionalProperties": true
}
```
