scan_receipt
Scan receipts to extract financial data. Provide an image file, URL, base64 data, or raw text to get structured transaction details.
Instructions
Scan a receipt using the Recite API to extract financial data.
Provide exactly one input: file_path, image_url, image_base64, or raw_text.
Args: file_path: Local path to an image. image_url: Publicly accessible URL (must use https). image_base64: Base64-encoded image data. raw_text: Pre-extracted text. auto_save: Auto-create a transaction if successful. Requires project_id. save_threshold: Confidence threshold for auto-saving. project_id: Project UUID. Required if auto_save is True. status: Target status of the transaction. image_type: MIME type hint for the image. idempotency_key: Key to prevent duplicate processing. metadata: Custom key-value data. ephemeral: Process without saving scan records server-side. Cannot be True if auto_save is True.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | ||
| image_url | No | ||
| image_base64 | No | ||
| raw_text | No | ||
| auto_save | No | ||
| save_threshold | No | ||
| project_id | No | ||
| status | No | ||
| image_type | No | ||
| idempotency_key | No | ||
| metadata | No | ||
| ephemeral | No |