AP Processing Mission Runtime

Introduction · Accounts Payable decision processing
AP mission runtime Decision processing SAP remains system of record

Sphere AP Processing Mission Runtime

Transform Accounts Payable from document processing into decision processing. The runtime detects invoices, understands context, executes controls, resolves exceptions, recommends actions, learns from outcomes, and produces auditable evidence while SAP remains the source of record.

North star
Invoice -> Evidence -> Decisions -> Controls -> SAP
Human boundary
No autonomous payment release
Replay target
100% AP decision replay coverage
Differentiator
Evidence, policy, learning, impact, collaboration

Executable AP runtime

This panel calls the AP Processing Mission Runtime API. Deterministic invoice matching, duplicate detection, policy, evidence, value attribution, and replay are authoritative. LLM is used only for evidence-grounded explanation and drafts.

Runtime case

Not loaded yet.

Recommendation

Run the case to see the governed recommendation.

LLM assist

LLM status will appear here.

Replay

Replay hash and deterministic parity will appear here.

Runtime proofValue
StatusWaiting for runtime call.
LLM narrative/draft will appear after the case loads. If the configured model gateway is unavailable, the runtime returns deterministic fallback text and discloses the LLM status.

Local Ariba-compatible procurement SOR

This panel reads the deployed local Ariba SOR through the same connector contract used by the platform. It proves supplier, purchase order, and invoice payloads are populated and disclosed as local SOR evidence rather than hidden sample text.

Connector status

Not loaded yet.

Suppliers

Load supplier payloads from local Ariba SOR.

Purchase orders

Load PO lifecycle records from local Ariba SOR.

Invoices

Load invoice match records from local Ariba SOR.

Credibility envelope will show source system, truth tier, fallback status, connector mode, and latency after load.
ObjectStatusValueSource detail
WaitingNot loaded-Click Load local Ariba SOR.

Executive vision

This is not an invoice workflow engine. It is a Sphere mission runtime that treats every invoice as a finance decision requiring context, evidence, controls, human authority, replay, outcome capture, and learning.

Positioning shift
Traditional APInvoice -> OCR -> Workflow -> SAP
Primary optimizationDocument throughput and routing
elevate
Sphere APInvoice -> Evidence -> Decisions -> Controls -> SAP
Primary optimizationGoverned decision quality and auditability

Business objectives

Targets must be tied to governed decision outcomes, not only document automation throughput.

ObjectiveTargetRuntime interpretation
Touchless PO invoices85%+Straight-through only when evidence, match, policy, and authority gates pass.
Overall automation65%+Automation includes evidence preparation, routing, drafting, and controlled execution.
Duplicate payment reduction95%Duplicate detection is treated as a payment leakage control, not a simple fuzzy match.
AP processing cost reduction60%Reduce manual coordination, evidence chasing, rework, and low-value review.
Human effort reduction50%Humans focus on exceptions, approvals, supplier disputes, and policy overrides.
Early payment discount capture85%+Payment optimization balances discount capture, cash, and control posture.
Payment leakage reduction90%Leakage includes duplicates, overpayment, off-contract, fraud, and timing exposure.
Decision replay coverage100%Every recommendation, human decision, and write-back must be reconstructable.
Evidence-backed decisions100%No material AP action should be presented without evidence, source, and freshness.

Mission architecture and roles

The same AP runtime exposes different decision surfaces for analysts, supervisors, tower leaders, and the CFO.

RoleFocusRequired experience
AnalystExceptions, duplicate risks, missing evidence, approvals, supplier disputesClear queue, evidence pack, recommendation, action drawer, Ask Sphere support.
SupervisorSLA, workload, escalations, policy exceptions, quality reviewTeam queue, escalation path, authority gates, override and learning review.
Tower LeaderProcess performance, automation, leakage, working capitalAP performance cockpit, root-cause trends, value protection, automation candidates.
CFOCash, controls, risk, financial impactControl confidence, leakage exposure, discount capture, replay coverage, value attribution.

AP agent fabric: core processing agents

Do not implement one generic AP agent. Use specialized agents with explicit outputs and governance boundaries.

AgentPurposeOutputBoundary
Invoice Discovery AgentDiscovers SAP, Ariba, email, and EDI invoicesInvoice Intake EventStarts AP case creation without claiming source ownership.
Document Intelligence AgentExtracts header, lines, tax, PO references, and payment termsEvidence PackageSupports GPT-4o, Claude, local VLM, OCR, and confidence scoring.
Supplier Intelligence AgentEnriches supplier profile, payment history, risk, contract termsSupplier ContextFinds supplier status, disputes, bank changes, and criticality.
PO Validation AgentChecks PO existence, status, budget availability, and tolerancePO Validation ResultSeparates PO facts from matching recommendation.
GR Validation AgentChecks goods receipt, service entry sheet, delivery confirmationReceipt EvidenceIdentifies missing GR/SES and owner for follow-up.
Matching AgentPerforms 2-way, 3-way, and 4-way matchingMatch DecisionExplains pass, tolerance breach, quantity issue, price issue, or missing evidence.
Coding AgentSuggests GL, cost center, WBS, projectCoding RecommendationUses learning memory and requires human review for sensitive coding.
Compliance AgentChecks policy, SoD, approval limits, authority matrixControl ResultEnforces policy before recommendation or write-back.
Duplicate Invoice Detection AgentChecks number, amount, supplier, timing, semantic similarityDuplicate Risk FindingShowcase control for payment leakage prevention.
Fraud Detection AgentChecks vendor changes, bank changes, unusual patterns, split invoicesFraud Risk FindingRoutes high-risk cases to human approval and controls.
Payment Optimization AgentOptimizes payment timing, discounts, and working capitalPayment RecommendationNever releases payment autonomously.

Sphere differentiator agents

These agents are the difference between AP automation and an enterprise finance decision runtime.

AgentPurposeOutputWhy BP should care
Evidence Intelligence AgentBuilds evidence packs, proof chains, and source lineageAudit-ready Evidence PackTurns AP decisions into inspectable proof.
Decision Replay AgentCaptures context, evidence, policies, agent output, human actionsReplay RecordSupports audit, recovery, and learning.
Learning Runtime AgentLearns from human corrections, exception outcomes, coding changes, approvalsLearning ArtifactCreates organizational memory under governance.
Impact Attribution AgentTracks leakage avoided, discounts captured, working capital, productivityValue AttributionConnects AP actions to measurable business outcomes.
Policy Intelligence AgentConverts SOPs, FIM documents, tolerances, and approval matrices into executable policyPolicy Runtime AssetCritical BP-owned control intelligence.

Human-in-control framework

AI recommends. Humans decide. No autonomous payment release.

GateTriggerRequired behavior
High value$100K authority gateHuman approval required before payment release, hold override, or supplier-sensitive action.
New vendorSupplier not established or low confidenceRoute to supplier master / controls review.
Vendor bank changeBank details changed or unverifiedBlock autonomous release and require evidence.
Policy exceptionTolerance, SoD, tax, authority, or country rule breachedEscalate with policy trace.
Duplicate riskDuplicate likelihood or prior payment candidate foundHold recommendation; human decides.
Fraud riskUnusual payment pattern, split invoice, supplier anomalyRoute to controls / supervisor.
SOX sensitiveControl-sensitive transaction or audit scopeRequire evidence pack and replay record.

Sphere AP case model

Every invoice becomes a decision case carrying evidence, policy, AI findings, human action options, replay, and outcome capture.

Case componentContainsPurpose
EvidenceInvoice, PO, GR/SES, contract, supplier, payment historyEvery AP case starts as an evidence-backed decision package.
PoliciesRelevant controls, tolerance rules, approval rules, authority gatesPolicy trace is visible in the drawer and replay.
AI findingsMatch status, duplicate risk, fraud score, coding recommendationFindings show confidence, evidence, uncertainty, and alternatives.
ActionsApprove, reject, escalate, request evidence, request supplier response, open SAP, create replayActions are role-aware and controlled by authority.

Analyst workbench enhancements

Priority queue

Critical exceptions first: duplicate risk, fraud risk, missing evidence, SLA, and payment leakage.

Live threats

Duplicate risk, fraud risk, payment leakage, supplier disputes, and policy breaches stay visible.

Ask Sphere

Analyst can ask why blocked, show similar invoices, find policy references, draft supplier response, and research prior decisions.

Collaboration

Escalate, mention experts, attach evidence, share replay, and route owner asks through Teams, Outlook, HR hierarchy, and ServiceNow.

BP data and integration architecture

Read broadly for context; write narrowly through approved and replayed actions.

SystemReadWriteRole
SAP ECCYesLimitedCurrent finance source of record; live validation and controlled write-back.
SAP S/4YesYesFuture strategic core; adapters should support coexistence.
SAP CFINYesLimitedConsolidated finance visibility and cross-entity context.
AribaYesYesProcurement, suppliers, contracts, PO evidence, and approved workflow updates.
UDP / DatabricksYesNoHigh-volume history, features, patterns, analytics, and model-ready data.
OneData / FoundryYesNoGoverned master data and operational data products.
ServiceNowYesYesEvidence requests, escalations, tickets, workflow tasks.
Teams / OutlookYesYesDrafted and governed collaboration asks, approvals, supplier communication.

Event layer

The AP runtime should support NATS or Kafka events so decisions can be triggered and reconstructed consistently.

EventMeaningRuntime behavior
InvoiceReceivedNew invoice detected from SAP, Ariba, email, EDI, or WIMCreate AP case and evidence shell.
MatchCompleted2-way, 3-way, or 4-way matching result availableUpdate case status, confidence, and next action.
DuplicateDetectedDuplicate risk crosses policy thresholdBlock release recommendation; prepare hold and evidence pack.
ApprovalRequestedAuthority or policy gate requires human decisionRoute to owner with SLA and replay context.
PaymentReleasedApproved payment execution or release event observedCapture outcome, value attribution, and replay closure.

Observability

Every AP agent must expose operational health, decision quality, and business impact.

DimensionMetricsWhy it matters
PerformanceExecution time, success rate, failure rateShows whether AP agents are production-operable.
QualityConfidence, accuracy, override rate, human agreementShows whether recommendations are trusted and improving.
BusinessLeakage prevented, automation rate, discounts captured, value deliveredShows why the runtime matters to finance leadership.

AP learning system

Every human action can create a pattern, lesson, recommendation, or future automation opportunity under governance. The improvement loop is eliminate, simplify, standardize, automate, then autonomize.

Judgment capture

Human corrections, rationale, overrides, coding changes, approval decisions, and supplier dispute outcomes are captured.

Learning governance

Patterns require confidence, validation, approval, lifecycle state, rollback, and replay trace before activation.

Process improvement

The runtime identifies repeated exceptions, missing policies, poor source quality, automation candidates, and autonomization candidates.

North star roadmap

PhaseScopeOutcome
Phase 1: Evidence + ControlsDuplicate payments, matching, approval routingCreate credible AP decision foundation.
Phase 2: Decision RuntimeLearning, replay, policy intelligenceMove from workflow support to governed decision intelligence.
Phase 3: Autonomous Exception ResolutionSupplier outreach, missing document collection, auto-remediation draftsAutomate coordination while preserving approval gates.
Phase 4: Finance Learning SystemProcess redesign, policy optimization, autonomous control improvementsTurn AP outcomes into compounding enterprise memory.

Key change from uploaded AP architecture

The uploaded architecture is an AP automation architecture. Sphere should elevate it into AP Decision Runtime.

ModelFlowImplication
Standard AP automationInvoice -> OCR -> workflow -> SAPOptimizes document throughput but often hides decision proof.
Sphere AP runtimeInvoice -> evidence -> decision -> controls -> SAPOptimizes governed decisions and creates replayable proof.
Strategic moatEvidence Intelligence, Replay, Policy Intelligence, Learning, Impact Attribution, CollaborationDifferentiates from SAP, Ariba, Coupa, HighRadius, Tipalti, and hyperscaler reference patterns.
Implementation principle: AP capabilities must reuse Evidence Intelligence Fabric, Decision Replay, Policy Intelligence, Learning Runtime, Impact Attribution, Collaboration Runtime, Discovery Agent, and the continuous process improvement loop.