Skip to documentation
Brightree integration

Create Sales Order for Document

Perform Create Sales Order for Document through Brightree.

View as Markdown
brightree_create_sales_order_for_document
writebrightree

Inputs

  • patient_key
    expressionrequired
    Patient Key

    Required literal value or workflow expression.

  • document_id
    expressionrequired
    Document Id

    Required literal value or workflow expression.

  • dry_run
    boolean
    Dry Run

    Optional true-or-false value.

    Default: false

Outputs

  • successSuccess
  • patient_keyPatient Key
  • document_idDocument Id
  • dry_runDry Run
  • savedSaved
  • sales_order_keySales Order Key
  • reusedReused
  • messageMessage
  • errorError

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
{
  "type": "object",
  "required": [
    "patient_key",
    "document_id"
  ],
  "properties": {
    "dry_run": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "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"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "error": {},
    "saved": {},
    "reused": {},
    "dry_run": {},
    "message": {},
    "success": {},
    "document_id": {},
    "patient_key": {},
    "sales_order_key": {}
  },
  "additionalProperties": true
}
View all Brightree actions