Skip to documentation
Brightree integration

Backfill Order Cost Evidence

Perform Backfill Order Cost Evidence through Brightree.

View as Markdown
brightree_backfill_order_cost_evidence
writebrightree

Inputs

  • date_from
    daterequired
    Date From

    Required date in YYYY-MM-DD format.

  • date_to
    date
    Date To

    Optional date in YYYY-MM-DD format.

  • max_orders
    numberrequired
    Max Orders

    Required numeric value.

    Default: 100

  • reobserve_nonvalid_after_days
    numberrequired
    Reobserve Nonvalid After Days

    Required numeric value.

    Default: 7

  • continue_on_error
    booleanrequired
    Continue On Error

    Required true-or-false value.

    Default: true

Outputs

  • successSuccess
  • date_fromDate From
  • date_toDate To
  • window_exhaustedWindow Exhausted
  • days_completedDays Completed
  • orders_seenOrders Seen
  • orders_processedOrders Processed
  • orders_skipped_observedOrders Skipped Observed
  • insertedInserted
  • updatedUpdated
  • valid_costsValid Costs
  • missing_costsMissing Costs
  • invalid_costsInvalid Costs
  • nonpositive_costsNonpositive Costs
  • order_errorsOrder Errors
  • errorError

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
{
  "type": "object",
  "required": [
    "date_from",
    "max_orders",
    "reobserve_nonvalid_after_days",
    "continue_on_error"
  ],
  "properties": {
    "date_to": {
      "type": "string",
      "format": "date",
      "description": "Optional date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "date_from": {
      "type": "string",
      "format": "date",
      "description": "Required date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "max_orders": {
      "type": "number",
      "default": 100,
      "description": "Required numeric value.",
      "x-workflow-field-type": "number"
    },
    "continue_on_error": {
      "type": "boolean",
      "default": true,
      "description": "Required true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "reobserve_nonvalid_after_days": {
      "type": "number",
      "default": 7,
      "description": "Required numeric value.",
      "x-workflow-field-type": "number"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "error": {},
    "date_to": {},
    "success": {},
    "updated": {},
    "inserted": {},
    "date_from": {},
    "orders_seen": {},
    "valid_costs": {},
    "order_errors": {},
    "invalid_costs": {},
    "missing_costs": {},
    "days_completed": {},
    "orders_processed": {},
    "window_exhausted": {},
    "nonpositive_costs": {},
    "orders_skipped_observed": {}
  },
  "additionalProperties": true
}
View all Brightree actions