# Ensure Consignment ClaimSoft Order

> Perform Ensure Consignment ClaimSoft Order through Consignment Intake.

Source: [https://genhealth.ai/docs/workflows/integrations/consignment-intake/ensure_consignment_claimsoft_order](https://genhealth.ai/docs/workflows/integrations/consignment-intake/ensure_consignment_claimsoft_order)

Integration: [Consignment Intake](https://genhealth.ai/docs/workflows/integrations/consignment-intake.md)

- Handler: `ensure_consignment_claimsoft_order`

- Connection type: `claimsoft`

## Inputs

- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.
- `expected_idempotency_key` — Expected Idempotency Key (expression, required)
  Required literal value or workflow expression.
- `order_params` — Order Params (json, required)
  Required JSON value.

## Outputs

- `success` — Success
- `order_id` — Order Id
- `created` — Created
- `duplicate_prevented` — Duplicate Prevented
- `match_basis` — Match Basis
- `idempotency_key` — Idempotency Key
- `message` — Message
- `error_kind` — Error Kind
- `error` — Error

Output schema completeness: `best_effort_declared`

## Safety

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

## Schemas

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

### Input schema

```json
{
  "type": "object",
  "required": [
    "document_id",
    "expected_idempotency_key",
    "order_params"
  ],
  "properties": {
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "order_params": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "expected_idempotency_key": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "created": {},
    "message": {},
    "success": {},
    "order_id": {},
    "error_kind": {},
    "match_basis": {},
    "idempotency_key": {},
    "duplicate_prevented": {}
  },
  "additionalProperties": true
}
```
