Create Sales Order for Document
Perform Create Sales Order for Document through Brightree.
brightree_create_sales_order_for_documentwritebrightree
Inputs
- Patient Key
patient_keyexpressionrequiredRequired literal value or workflow expression.
- Document Id
document_idexpressionrequiredRequired literal value or workflow expression.
- Dry Run
dry_runbooleanOptional true-or-false value.
Default:
false
Outputs
successSuccesspatient_keyPatient Keydocument_idDocument Iddry_runDry RunsavedSavedsales_order_keySales Order KeyreusedReusedmessageMessageerrorError
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
}