Apply Invoice Payment
Perform Apply Invoice Payment through Brightree.
brightree_apply_invoice_paymentirreversiblebrightree
Inputs
- Deposit Key
deposit_keyexpressionOptional literal value or workflow expression.
- Receipt Key
receipt_keyexpressionOptional literal value or workflow expression.
- Invoice Key
invoice_keyexpressionOptional literal value or workflow expression.
- Amount
amountexpressionOptional literal value or workflow expression.
- Proc Line Index
proc_line_indexexpressionOptional literal value or workflow expression.
Default:
"0" - Payment Type
payment_typetextOptional text value.
Default:
"7" - Reason
reasontextOptional text value.
Default:
"0" - Note
noteexpressionOptional literal value or workflow expression.
- Expected Balance
expected_balanceexpressionOptional literal value or workflow expression.
- Dry Run
dry_runbooleanOptional true-or-false value.
Default:
true
Outputs
successSuccessdry_runDry Runinvoice_keyInvoice Keyinvoice_numberInvoice Numberpayments_appliedPayments Appliedobserved_balanceObserved Balancegate_passedGate PassedmessageMessageerrorError
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
{
"type": "object",
"properties": {
"note": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"amount": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"reason": {
"type": "string",
"default": "0",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"dry_run": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"deposit_key": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"invoice_key": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"receipt_key": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"payment_type": {
"type": "string",
"default": "7",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"proc_line_index": {
"default": "0",
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"expected_balance": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"dry_run": {},
"message": {},
"success": {},
"gate_passed": {},
"invoice_key": {},
"invoice_number": {},
"observed_balance": {},
"payments_applied": {}
},
"additionalProperties": true
}