# Publish Consignment Review Result

> Perform Publish Consignment Review Result through Consignment Intake.

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

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

- Handler: `publish_consignment_review_result`

## Inputs

- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.
- `extracted_fields` — Extracted Fields (json, required)
  Required JSON value.
- `billing_location_resolution` — Billing Location Resolution (json)
  Optional JSON value.
- `salesperson_resolution` — Salesperson Resolution (json)
  Optional JSON value.
- `source_location` — Source Location (json)
  Optional JSON value.
- `order_reference_resolution` — Order Reference Resolution (json)
  Optional JSON value.
- `order_mapping` — Order Mapping (json)
  Optional JSON value.
- `write_payload` — Write Payload (json)
  Optional JSON value.
- `order_outcome` — Order Outcome (json)
  Optional JSON value.
- `payer_resolution_result` — Payer Resolution Result (json)
  Optional JSON value.
- `item_identities` — Item Identities (json)
  Optional JSON value.
- `reviewed_payer` — Reviewed Payer (json)
  Optional JSON value.

## Outputs

- `success` — Success
- `published` — Published
- `document_id` — Document Id
- `workflow_run_id` — Workflow Run Id
- `order_id` — Order Id
- `review_required` — Review Required
- `review_reasons` — Review Reasons
- `resolution_statuses` — Resolution Statuses
- `skipped` — Skipped
- `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",
    "extracted_fields"
  ],
  "properties": {
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "order_mapping": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "order_outcome": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "write_payload": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "reviewed_payer": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "item_identities": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "source_location": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "extracted_fields": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "salesperson_resolution": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "payer_resolution_result": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "order_reference_resolution": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "billing_location_resolution": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "skipped": {},
    "success": {},
    "order_id": {},
    "published": {},
    "document_id": {},
    "review_reasons": {},
    "review_required": {},
    "workflow_run_id": {},
    "resolution_statuses": {}
  },
  "additionalProperties": true
}
```
