extract_document
Extract structured fields from invoices, receipts, and bank statements in PDFs or images, returning values, confidence scores, and review flags.
Instructions
Extract structured data from a PDF or image document (invoice, receipt, or bank statement) using the Parsed API. Returns fields with values, confidence scores, and review flags.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_type | Yes | Type of document to extract. Must be invoice, receipt, or bank_statement. | |
| file_path | No | Absolute or relative path to a local PDF or image file (PDF, PNG, JPG, JPEG, WEBP, TIFF, BMP). | |
| file_base64 | No | Base64-encoded content of a PDF or image file. Use this if the file is already in memory. |