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.
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 |