OCR Processing Batch
The conveyor belt behind document intake. The card: "Automatically processes incoming documents through AI extraction and creates purchase invoices. Runs every 15 minutes when active."
Access you'll need. Starting and stopping batch jobs requires the Accounting Admin v2 permission set. The Accounting Controller v2 and Read Only v2 sets can open the console to view outcomes; the Accounts Payable v2 and Accounts Receivable v2 sets cannot see it, though they work the draft invoices the loop produces from the OCR Inbox.
Current main release: 1.62000
OCR and configurable prompts. Multi-attachment/XML extraction work, active ordered prompts and clearer party-exemption handling. Add three missing AI Prompt document types where necessary. Review preserved subscriber prompt text against the supplied defaults; keep customer customisations.
Release notes and cumulative changes · Detailed installation and upgrade steps
The essentials
- A queue processor, not a nightly job: this card works differently — you Start it and it cycles every 15 minutes, draining the OCR Inbox; Stop pauses new cycles (work in flight finishes).
- What each cycle does: takes pending inbox documents through AI extraction (vendor, dates, amounts, lines), matches them to your master data, and creates draft purchase invoices for review.
- Queue visibility: the card shows the pipeline — pending, extracting, errored — so a glance tells you whether intake is flowing.
- Financials retains AI usage reporting. In 1.62000 the old custom document-cap enforcement is retired; provider billing, funding and service limits belong to your organisation’s provider account. Check the reporting period and the provider’s usage/billing view. See AI usage reporting and provider billing.
What the loop moves — the document lifecycle
Every document the loop touches lives on an OCR Inbox record whose Status says exactly where it is. The system’s own definitions:
| Status | Meaning | Who acts |
|---|---|---|
| Pending | Received (usually via email), awaiting the next 15-minute cycle | Nobody — the loop picks it up |
| Processing / Extracting | AI at work — first read done, full extraction underway | Nobody |
| Extracted | Data ready; confidence below the auto-create bar — awaiting a human | AP reviews via Create Invoice |
| Created | A draft Purchase Invoice exists, linked on the record | Normal AP flow takes over |
| Error | Processing failed; the reason is stored on the record | Fix the cause, Reprocess |
| Reviewed / Rejected | Bookkeeping marks for human-verified and deliberately discarded items | Your team’s convention |
The loop works the queue oldest-first, one document at a time — a document that fails is marked Error with its reason, and the loop carries on with the next one. One bad scan never jams the queue.
Reading the card’s queue counters
The card’s Document Queue counters — pending | extracting | errored — are the queue’s dashboard-at-a-distance: an administrator sees work waiting and failures accumulating without opening the OCR Inbox tab. Pending steadily draining is healthy. Stopping is safe, and the button says so: "Stop the OCR processing loop. Pending documents will remain in the queue until processing is restarted." — nothing is lost; the queue just waits.
Troubleshooting the loop
| Symptom | Likely cause → action |
|---|---|
| Queue growing, nothing processing | The processor is stopped — press Start. If started and stuck, check the last audit entry for the error. |
| AI connection or provider request failure | Read the actual failed operation or document error. Check the organisation’s Anthropic connection with Save and Test connection in Financial Admin Console → Connections, then check provider access/funding and the intended user’s permissions. Retry the affected document only after resolving its specific cause. Do not assume an old REDA monthly document cap or an expired activation key caused the failure. |
| Errors like "AI service is temporarily rate-limited. Please try again in a few moments." | Transient conditions on the AI service — nothing is wrong with your documents. Reprocess after a short wait. |
Common mistakes to avoid
| Mistake | Why it hurts | Do this instead |
|---|---|---|
| Waiting for Pending records to move while the loop is stopped | Nothing processes itself — the queue grows silently and vendors start chasing | Check the card; press Start — it re-schedules itself every 15 minutes |
| Lowering the auto-create threshold to shrink the review queue | Low-confidence extractions become draft invoices unreviewed — errors move downstream into AP | Keep the review bar meaningful; Awaiting Review exists so doubtful reads get human eyes |
| Ignoring the errored counter for weeks | Most errors are one-click retries when fresh; stale ones become archaeology while real bills sit unpaid | Glance at the Errors view (or the card’s counter) daily — see Reprocessing Failed Extractions |
| Routing statements and receipts through the intake address | Unwanted attachments clutter the queue and can cause provider processing charges; this channel is for vendor invoices. | Send vendor bills; keep general correspondence out of the intake mailbox |
| Treating extraction as posting | Nobody reviews, errors reach the ledger late, trust in the feature erodes | Every created invoice is a Draft on purpose — verify against the document before posting |
Operating it
Most orgs start it and leave it running — 15-minute freshness means an emailed invoice becomes a reviewable draft before the coffee’s done. Errored documents stay visible in the inbox with reasons, ready for reprocessing after fixes. Run Now forces an immediate cycle.
Where to go next
- OCR Overview — the pipeline end to end.
- Creating an Invoice from OCR — the reviewer’s workflow.
- Operations Scheduler Overview — the console.
Frequently asked questions
The processing loop isn’t running. It’s a Start/Stop loop, not a daily-time job — press Start on the card and the queue drains on the 15-minute cycle. A Pending item is normal for a few minutes; a pile of them means the loop is stopped.
No — the button’s own text explains: "Stop the OCR processing loop. Pending documents will remain in the queue until processing is restarted." Work in flight finishes, nothing is lost, and Start resumes exactly where it left off.
Never — created invoices are always drafts, and the normal posting gates (periods, approvals, your click) stand between extraction and the ledger. The AI types; you decide.
Verify the actual execution user and access required for the scheduled job or integration in your organisation. Do not assume automation is universally exempt from native package licensing. A permission-set assignment and a package licence are separate checks.
Its extraction confidence met the territory’s OCR Auto-Create Threshold (default 80%), so a draft Purchase Invoice was created automatically and the record went straight to Created. The invoice is still a draft — review it there before posting.
This queue processes vendor invoices into draft Purchase Invoices. Send supported invoice files and review non-invoice refusals in Errors; do not route general correspondence here.
Was this article helpful?