From supplier invoice to ERP posting
Delivery
0
enterprise invoice pipelines designed and built, from discovery to production or pilot
Localization
0+
tax-code rules in a localized lookup for a multi-country rollout
Design principle
0
calculations left to the model: the numbers are handled by deterministic logic
Judgement to the model, numbers to code
01
Classify and isolate
Sort invoices, credit notes, and reminders, and find the real invoice inside long, multi-document files.
02
Extract and validate
Agents extract the data, then confirm it against trusted customer data instead of guessing.
03
Check, then post
Deterministic checks confirm the numbers. Compliant invoices post to the ERP; the rest get a clear exception.
Three customers, one way of working
rebuild / production
From broken to working
For an international contractor, the pipeline was not producing usable results when I took it over, and it cost 90% more per document. I rebuilt the 15-step workflow agent by agent, rewrote the prompts, merged PO and non-PO flows, and standardised the data contracts until it worked end to end.
touchless / sap
Touchless settlements
For a global fresh-produce exporter, I built a pipeline that reads structured e-invoices, pulls the matching settlement from SAP in real time, validates it against agreed business rules, and posts it with no add-on or middleware.
rollout / multi-country
A three-country pilot
For a building-materials group, I adapted a proven template to three new countries: language, tax treatment, a 2,300+ rule tax lookup, and routing that can never send an invoice to the wrong country.
template / reuse
PO matching as a template
Moved a full purchase-order matching chain (detection, retrieval, line and goods-receipt matching, finalisation) from one customer into a reusable company template driven by context variables.
ops / root cause
Daily root-cause analysis
Traced failing invoices through each agent, found the broken logic, simulated prompt fixes, and shipped them to test, every day.
automation / claude
Automating my own work
Packaged that daily investigation into reusable Claude skills and plugins, turning a manual analysis into a repeatable process.
international contractor — before / afterlive
$status --before
→pipeline: not producing usable results
→cost per document: 90% higher than today
$rebuild --agent-by-agent --prompts --data-contracts
✓15 steps standardised · PO and non-PO flows merged
✓pipeline: working end to end in production
✓cost per document: 90% premium removed
What made it reliable
invoice pipeline — runlive
$pipeline run --document inbound-0427.pdf
→multi-page file received · invoice located
✓values confirmed against trusted data
✓lines: 11 candidates extracted · coding resolved
✓checks: totals consistent
✓rules: 0 blockers · 1 warning recorded
✓posted to ERP · exception path not needed
Owning the delivery, not just the agents
LLM agentsMulti-agent orchestrationPrompt engineeringJSON Schema outputsTypeScriptJSONataXSLTOpenSearchSAP S/4HANA
SAP ECCERP integrationSFTPPythonNode.jsClaude skillsJiraConfluence