# Sync Ordering Doctor Fax

> Perform Sync Ordering Doctor Fax through Brightree.

Source: [https://genhealth.ai/docs/workflows/integrations/brightree/brightree_sync_ordering_doctor_fax](https://genhealth.ai/docs/workflows/integrations/brightree/brightree_sync_ordering_doctor_fax)

Integration: [Brightree](https://genhealth.ai/docs/workflows/integrations/brightree.md)

- Handler: `brightree_sync_ordering_doctor_fax`

- Connection type: `brightree`

## Inputs

- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.
- `patient_key` — Patient Key (expression, required)
  Required literal value or workflow expression.
- `expected_npi` — Expected Npi (expression, required)
  Required literal value or workflow expression.
- `source_fax` — Source Fax (expression, required)
  Required literal value or workflow expression.
- `dry_run` — Dry Run (boolean)
  Optional true-or-false value.
  Default: `true`

## Outputs

- `success` — Success
- `changed` — Changed
- `manual_review_required` — Manual Review Required
- `error` — Error

Output schema completeness: `best_effort_declared`

## Safety

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

## Schemas

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

### Input schema

```json
{
  "type": "object",
  "required": [
    "document_id",
    "patient_key",
    "expected_npi",
    "source_fax"
  ],
  "properties": {
    "dry_run": {
      "type": "boolean",
      "default": true,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "source_fax": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "patient_key": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "expected_npi": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "changed": {},
    "success": {},
    "manual_review_required": {}
  },
  "additionalProperties": true
}
```
