# Get Order Source Document

> Perform Get Order Source Document through ClaimSoft.

Source: [https://genhealth.ai/docs/workflows/integrations/claim-soft/claimsoft_get_order_source_document](https://genhealth.ai/docs/workflows/integrations/claim-soft/claimsoft_get_order_source_document)

Integration: [ClaimSoft](https://genhealth.ai/docs/workflows/integrations/claim-soft.md)

- Handler: `claimsoft_get_order_source_document`

- Connection type: `claimsoft`

## Inputs

- `order_id` — Order Id (expression, required)
  Required literal value or workflow expression.

## Outputs

- `found` — Found
- `document_id` — Document Id
- `document_url` — Document Url
- `from_email` — From Email
- `subject` — Subject
- `received_date` — Received Date
- `has_email_metadata` — Has Email Metadata
- `document_context_footer` — Document Context Footer
- `message` — Message
- `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": [
    "order_id"
  ],
  "properties": {
    "order_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "found": {},
    "message": {},
    "subject": {},
    "from_email": {},
    "document_id": {},
    "document_url": {},
    "received_date": {},
    "has_email_metadata": {},
    "document_context_footer": {}
  },
  "additionalProperties": true
}
```
