Skip to content

Showcase agents / Invoice Reconciliation

Finance / AP

Invoice Reconciliation

What problem? Invoice processing breaks silently when ERP field names change — teams discover mismatches in month-end close, not at ingest.

Finance reference: extract invoice → match PO/ERP → draft journal entry → escalate exceptions. Stresses correctness and adapter-break recovery.

tenant: tenant-invoice-coport :9102scenario: happy_match_po
Inferix console view for Invoice Reconciliation

What Inferix observes

Every run dual-writes to LensAI and TraceForge. Switch to this tenant in the console to see live KPIs.

  • TraceForge — tax_code step disappearance on ERP rename
  • LensAI — cost per matched invoice
  • DriftWatch — match accuracy slice alerts
  • FineForge — adapter version promote after heal

Tools & models

Real SQLite backends, not mocked HTTP stubs.

  • docs.extract_invoice
  • erp.find_po
  • erp.match_line
  • erp.get_tax_code
  • ledger.draft_entry
  • human.escalate

Model routing

  • general-llm-v* (extraction/match)
  • Claude (hard exceptions)

Try it

Start the stack, then run the golden scenario. Traffic appears in the console within seconds.

1. Start stack + agents

cd inferix && ./run-inferix.sh --full --agents

2. Golden scenario

curl -s -X POST http://localhost:9102/scenarios/happy_match_po | jq

Expect HTTP 200 with JSON status and tool steps. Traces appear under this tenant in ~10s.

3. All agents at once

cd inferix && ./scripts/generate-agent-traffic.sh

Expected: JSON with status and tool steps. Then open the tenant console and filter traces by tenant-invoice-co. In-browser runner stays deferred — curl is the verified path.

Console: /console/overview?tenant_id=tenant-invoice-co · API traces: GET /v1/traces?tenant_id=tenant-invoice-co

See all seven agents in the console

Multi-tenant super-dashboard. Filter by tenant, drill into traces and costs.