Where to start with AI · First workflow No. 5
An invoice matching assistant, rolled out in two stages: first it flags discrepancies for the accountant, then it posts invoices that match or fall within tolerance, below a set amount, on its own.
A first AI use case doesn’t need to be spectacular. It does need to be narrow enough to test, measure, and improve.
Invoice matching meets all four tests of a good first workflow: it comes up often, it has a clear owner, it calls for a clear output (a match summary), and it is a pain point that accounting and suppliers already feel.
The use case is low-risk only within a strict scope:
The assistant compares each invoice with the purchase order and goods receipt the company already records. The risk does not go away. It becomes more visible, measurable, and manageable once tolerances, scope, and escalation thresholds are defined.
Clean up POs, receipts, and supplier records; write down tolerances; give each rule an owner and a dated version. The tool comes after.
The assistant extracts the invoice lines, compares them with the purchase order and the goods receipt, and flags each discrepancy, citing the relevant tolerance. The accountant approves, corrects, or checks with the buyer. Every correction is logged by purchase category.
Within the authorized scope, it posts invoices whose PO and goods receipt agree, whose discrepancies, if any, stay within written tolerances, and whose amount is below the set threshold. It routes to accounts payable any invoice that is unusual or incomplete, any out-of-tolerance discrepancy, any changed banking details, and any amount above the threshold. Only treasury releases payments.
The move to stage 2 should not be decided in advance. It depends on what accounts payable observes during stage 1: the accuracy of the proposed matches, the corrections needed, and the system’s ability to recognize invoices that fall outside its scope.
Office supplies could move to stage 2 while professional services stay in stage 1.
Structured extraction of invoices, deterministic matching against the PO and goods receipt read from the ERP, and a match summary drafted by an LLM instructed to cite the line and the tolerance, with input and output guardrails and routing to accounts payable. A learning loop connects the log, AP review, and the evaluation set.
The controls required before any autonomous answer:
Corrections go first into improving extraction, tolerances, instructions, and the evaluation set. Retraining the model is neither the starting point nor a substitute for that work.
The goal is not to take control away from the accounting team. It is to cut processing time for clean-match invoices, stop the same comparisons from being redone by hand, and focus the team’s time on discrepancies that call for context and judgment.
Illustrative case: fictitious company; all figures are approximate. Sergio Castagna Consulting is a member of the OpenAI Partner Network and a registered partner in the Google Cloud Partner Network. The tool comes after the problem is defined.
The question is not “Which tool should we buy?” It is “Which repetitive work can we have AI assist with, measure, and then delegate under clear controls?”