finance_ap_invoice_intake
Extract structured payable data from AP invoices - vendor, line items, GL codes, due dates, and detect anomalies like duplicates or off-contract items.
Instructions
Ingest an accounts-payable invoice (PDF, image, or email body) and extract a structured payable: vendor, line items, totals, GL coding, due date, payment terms, and any anomalies (duplicate, off-contract, amount drift). Args: message: Free-text objective for the action. invoice_url: Signed URL or platform artifact URI for the invoice file. invoice_text: Raw invoice text (alternative to invoice_url). expected_vendor: Optional vendor name to validate against.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | ||
| invoice_url | No | ||
| invoice_text | No | ||
| expected_vendor | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |