Ingest a receipt (OCR pipeline)
receipt_ingestProcesses receipts through a multi-model pipeline, categorizes expenses, matches to jobs, and posts to the expense ledger.
Instructions
Run a receipt through the tiered extraction pipeline: fast model first, automatic escalation to a stronger model when confidence is low or the math does not reconcile. The result is categorized (media, fuel, equipment, safety gear, ...), optionally matched to a job for per-job P&L, duplicate-guarded, and posted straight to the expense ledger. Paper to books in one call.
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": {
"text": "<text>"
},
"name": "receipt_ingest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Raw receipt text (from a photo OCR or typed) | |
| jobId | No | Job to attribute this cost to |