The same invoice match gets cheaper and surer every run
Every workflow in Daslab is a scene that gets cheaper and more reliable the more it runs. Here is one, traced up the ladder — an AP team's three-way invoice match in S/4HANA: match each invoice to its purchase order and goods receipt, clear the clean ones, flag the exceptions. About 200 a day.
Reads each invoice, hunts OData for the PO and goods receipt, reasons about tolerance from scratch — every invoice, many model calls.
Every write already waits for approval; the reasoning is opaque per run.
The three-way-match rules and tolerance (±2% or €50) and the exception taxonomy go into the job prompt. Fewer wrong turns, fewer retries.
Same approval gate; instructions are now legible.
The scene carries the right inventory: a scoped OData view of open POs and GRs, the vendor master, the tolerance table, last month's exception patterns. The agent stops searching.
You can see exactly what the agent can see.
The agent captures the deterministic match — join invoice↔PO↔GR, compute variance, apply tolerance — as a program that passed the checks. The clean ~85% now clear in code; the model only touches genuine exceptions.
Up — the matching logic is a readable, versioned program you can audit and roll back.
The remaining exceptions are a narrow judgment task, so they route from a large model to a smaller one. The scaffolding does the heavy lifting.
Held — same gate, cheaper base model.
After thousands of scored runs, the exception classifier is distilled into a small model tuned on this company's own patterns.
Down slightly — opaque weights are the one rung that costs some auditability. Frontier, not the landing.
The run-1 baseline ($0.31) is anchored on the real median run cost; the rest is an illustrative model of the climb, not measured data. Rung 5 (fine-tuning) is direction, not a shipped feature. The hero of this ladder is rung 3: the captured program is the only rung that drives cost and reliability and control the same way.