# Get Invoice Detail

> Perform Get Invoice Detail through NikoHealth.

Source: [https://genhealth.ai/docs/workflows/integrations/nikohealth/nikohealth_get_order_hcpcs](https://genhealth.ai/docs/workflows/integrations/nikohealth/nikohealth_get_order_hcpcs)

Integration: [NikoHealth](https://genhealth.ai/docs/workflows/integrations/nikohealth.md)

- Handler: `nikohealth_get_order_hcpcs`

- Connection type: `nikohealth`

## Inputs

- `claim_id` — Claim Id (text, required)
  Required text value.
- `include_items` — Include Items (boolean)
  Optional true-or-false value.
  Default: `false`
- `skip_if_empty` — Skip If Empty (boolean)
  Optional true-or-false value.
  Default: `false`

## Outputs

- `success` — Success
- `order_id` — Order Id
- `patient_id` — Patient Id
- `payer_id` — Payer Id
- `patient_insurance_id` — Patient Insurance Id
- `hcpcs_codes` — Hcpcs Codes
- `hcpcs_items` — Hcpcs Items
- `claim_diagnosis_codes` — Claim Diagnosis Codes
- `items` — Items
- `count` — Count
- `payer_name` — Payer Name
- `billing_provider` — Billing Provider
- `billing_provider_name` — Billing Provider Name
- `billing_provider_npi` — Billing Provider Npi
- `has_prior_authorization` — Has Prior Authorization
- `source_type` — Source Type
- `prior_authorizations` — Prior Authorizations
- `invoice` — Invoice
- `invoice_id` — Invoice Id
- `skipped` — Skipped
- `reason` — Reason
- `error` — Error

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": [
    "claim_id"
  ],
  "properties": {
    "claim_id": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "include_items": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "skip_if_empty": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "count": {},
    "error": {},
    "items": {},
    "reason": {},
    "invoice": {},
    "skipped": {},
    "success": {},
    "order_id": {},
    "payer_id": {},
    "invoice_id": {},
    "patient_id": {},
    "payer_name": {},
    "hcpcs_codes": {},
    "hcpcs_items": {},
    "source_type": {},
    "billing_provider": {},
    "billing_provider_npi": {},
    "patient_insurance_id": {},
    "prior_authorizations": {},
    "billing_provider_name": {},
    "claim_diagnosis_codes": {},
    "has_prior_authorization": {}
  },
  "additionalProperties": true
}
```
