
An accounts clerk opens an attachment, checks a purchase order and records an invoice. A software robot can repeat the final steps. An AI model can propose what kind of attachment arrived or which fields it contains. The design question is where an uncertain prediction becomes a committed entry in the ledger.
Which steps repeat, and why?
Leno and colleagues studied how to discover candidate routines in unsegmented user-interface logs. Repeated clicks across cases help reveal possible routines. They do not reveal whether the operator quietly checked a supplier number off-screen. Walk one ordinary case and one exception with the person who does the work. Document the reason for each decision. Leno and colleagues’ study of routine discovery

Separate an uncertain label from an exact rule
A learned image classifier might identify an invoice page. A deterministic check can then require a valid purchase-order match, exact currency and a previously unseen supplier invoice number. When a required field is illegible or two orders match, send the image and the proposed fields to review. A document classification benchmark tests only the first step. Harley and colleagues’ document classification experiment Where Should an AI Send This Document?

A timeout can happen after the entry was posted
Use a stable transaction identity. Keep the original reference, the reviewed fields and the receipt for the committed entry. After an acknowledgement goes missing, look for that receipt before attempting a second posting. Count duplicate entries, exceptions and correction time alongside the proportion processed automatically.

Try it with the evidence
Reconcile the interrupted posting
Source notes. Fictional audit trail. Supplier S submitted invoice 817 for £240 against order 36. A clerk approved the match. The ledger contains posting P92 with key S/817. The workflow timed out before saving its local “done” flag. A second attachment with the same key reads £420.
- Leno and colleagues’ study of routine discovery
- Harley and colleagues’ document classification experiment
Prompt. Explain the state of the original transaction. Decide what to do with each retry, identify the evidence to retain and say where a learned classifier could help.
Check your reading
P92 is evidence of the £240 posting. Reconcile the local record to that receipt without creating another entry. Send the changed amount to a reviewer with both attachments. A classifier can identify the document type, while the ledger receipt establishes the committed transaction.
Illustrated field notes
Discovering routines and reading inputs


-0.jpg)



