ai_invoice_pipeline_run
Extracts invoice data from an attachment, runs through validation and extraction steps, and posts the results with an audit trail.
Instructions
Execute the full registered step pipeline for one move+attachment. Steps: probe_move → guard_already_extracted → extract_vision → log_usage → write_back_move → invoke_posting_skill + any loaded plugins. Returns step-by-step audit trail.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"move_id": "<move_id>"
},
"name": "ai_invoice_pipeline_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | upload | |
| move_id | Yes | ||
| connection | No | default | |
| tenant_code | No | ||
| tenant_tier | No | business | |
| attachment_id | No | Specific attachment id. 0 = auto-pick from move. | |
| source_message_id | No |