ai_invoice_scan_pending
Retrieve vendor-bill drafts with attachments that have not been successfully extracted, prioritizing oldest entries. Use requested_only=true to return only bills queued for extraction by the attachment auto-trigger.
Instructions
List vendor-bill drafts that have an attachment and no successful extraction yet. Oldest first (FIFO). Feeds batch processing. Set requested_only=true to return only moves explicitly queued by the l10n_bg_ai_invoice_glue attachment auto-trigger (ai_pipeline_requested=True) — recommended for cron drivers.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ai_invoice_scan_pending"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| connection | No | default | |
| tenant_code | No | ||
| requested_only | No |