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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | No | default | |
| tenant_code | No | ||
| limit | No | ||
| requested_only | No |