# Void Sales Order Batches

> Perform Void Sales Order Batches through Brightree.

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

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

- Handler: `brightree_void_sales_order_batches`

- Connection type: `brightree`

## Inputs

- `void_requests` — Void Requests (json, required)
  Required JSON value.
- `dry_run` — Dry Run (boolean)
  Optional true-or-false value.
  Default: `false`

## Outputs

- `success` — Success
- `results` — Results
- `voided_count` — Voided Count
- `failed_count` — Failed Count
- `dry_run` — Dry Run
- `error_message` — Error Message

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `irreversible`
- Confirmation recommended: yes
- 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": [
    "void_requests"
  ],
  "properties": {
    "dry_run": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "void_requests": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "dry_run": {},
    "results": {},
    "success": {},
    "failed_count": {},
    "voided_count": {},
    "error_message": {}
  },
  "additionalProperties": true
}
```
