A suite of modules on the Phoenix platform. Models read and challenge; fixed rules decide; only the connector writes to the ERP.
Behaviour changes ship behind settings that default to off.
Every external write can be retried without a second posting.
Each agent step is recorded with its evidence and provenance.
Bank and ERP are reached only through existing connectors.
Example dataAgent settings. Gate thresholds, tolerance and hold-anomalies, with configuration keys.
The UI and notifications change often; posting, the only module that writes to the ERP, almost never.
| Module | Responsibility | Depends on |
|---|---|---|
| Abstractions | Contracts and data types only; no behaviour, no I/O | nothing |
| Persistence | Reconciler entities in a schema of its own | Abstractions |
| Ingestion | Mailbox intake, upload, scanner intake, dedupe, pairing | Abstractions |
| Extraction | Calls the OCR and vision endpoints; per-field confidence | Abstractions |
| Matching | Payer resolution, invoice match, allocation, tolerance | Abstractions |
| Agents | Critic (may only lower), linter (hard rules), auditor | Abstractions |
| Workflow | Complexity, line engine, gate, learning, reports | Matching, Agents |
| Posting | Incoming payments, allocations, journals; idempotent | Abstractions, connector |
| Notifications | Low-confidence alerts, daily digest, deep links | Abstractions |
| UI | Inbox, board, line work, learning, settings | Abstractions |
Example dataUI module. An embedded panel reconciling credits against open invoices.
| Data | Contents | Handling |
|---|---|---|
| Remittance documents | E-mail parts, PDFs, images, sheets | Content hash per document; re-reads never overwrite a person's work |
| Extracted lines | Payer, invoice, amount, notes | Per-field confidence; label lines removed before scoring |
| ERP mirror | Open invoices, customers, credits | Read for matching; the ERP stays the system of record |
| Proposals, run steps | Allocations, scores, evidence | Snapshot per version; who produced each step |
| Feedback | Reasons, corrections | Stored against the exact proposal version |
| Posting instructions | Payments, allocations, journals | Policy-checked, idempotent, confirmed or refused by the ERP |
Input. A synthetic demo check image.
Example dataOutput. Fields read from it, compared with what was expected.
Documents keep a content hash; a duplicate is recognised before it is read.
In Clarity-hosted deployments, records and document images are encrypted at rest.
Document images are visible to reviewer roles, and each access is recorded.
| Microsoft 365 (Graph) or IMAP; poll interval (default 5 min), accepted recipients, allowed sender domains, Off or Quarantine enforcement, 25 MB attachment cap | |
| Documents | PDF text layer, scans and photos (PNG, JPEG, TIFF, WebP and more), CSV and Excel, HTML, Word packs, ZIP |
| Bank | Bank connector supplies deposits, ACH addenda (CCD+, EDI 820) and check images |
| Card | ICardBatchReader per processor batch-report format |
| ERP | SAP Business One: Service Layer connector and B1 add-on (embedded screens, posting queue, data push). Other ERPs via Phoenix connectors: proposed configuration |
| Models | OpenAI-compatible gateway (vision and text), Ollama, Gemini or the offline mock |
| REST API | Endpoints behind the UI and add-on: intake and heal pass, reconciliation and escalation runs, posting runs, reports, learning and settings |
Example dataE-mail intake. A forwarded bundle split into inner e-mails, each scored and classified.
Intake health. The recurring heal pass: verified, healing, needs a person, duplicates, quarantined.
Today, match board, line decisions, search and options for the embedded screens.
Plan, queue and confirm postings; daily and posting reports.
Feedback, synonyms, proposals, versions, back-tests and activation.
Models can run on privately hosted GPUs; public AI endpoints can be denied at the firewall, so residency does not rest on a setting alone.
The ERP add-on holds no key. Each window is signed by the server, single-use and short-lived; a replay is refused.
A dedicated ERP service account with only the rights it needs; the database role owns only its own schema.
Bank details masked in lists; customer identity kept out of URLs and notification subjects.
Every decision recorded: proposal, review stage, model and version, and what a person did.
Pause all posting from the screen or cap the level per environment, without a deployment.
Resilience example. If the service cannot be reached, the ERP window says so, the ERP is unaffected and nothing posts.
Posting allow-list. Posting can be limited to the customers you choose.
Example dataEvidence on screen. Every extracted field shown beside what was expected, for a person to verify.
Text layer first, then a text model, then vision; the first read that passes consistency checks wins.
Challenges each proposal: payee versus remitter, credit memo paid as invoice, duplicate. May only lower confidence.
Payer investigator, re-reader, invoice hunter and options strategist, on held items only, within a model budget.
Auto-post at or above 98%, review at or above 90%; hold-anomalies always wait for a person.
Feedback. Structured reasons stored against the exact proposal version; the learner and back-tests read them.
Feedback at phone width.
Posting levels. Capped by an environment ceiling; changed with a reason; impact previewed over the last seven days.
Display options. Per-reviewer density, start screen and list filters.
Go-live stages at phone width.
Intake health. Run a health pass on demand, or let the scheduled pass do it.
Clarity-hosted: application, database and model inference on Clarity infrastructure, reachable over a private connection.
Each environment has a posting ceiling set by the deployment; test companies are used first.
Bounded background work: mailbox polling, heal passes and escalation queues each take a batch per run.
A PostgreSQL schema of its own; the ERP remains the system of record.
Go-live stages. One payment and one invoice, then complex payments, then automatic posting.
Payment Run. Batch posting through a guided wizard, plan-only until the level allows posting.
Pause all posting now, with a reason.
Choose a lower level, with a reason.
Take it off the pilot list.
Reverse the payment; the invoice reopens.
| Feature | What it does | Category / module |
|---|---|---|
| Capture and intake | ||
Remittance mailbox intake | Polls Microsoft 365 (Graph) or IMAP mailboxes on a schedule (default 5 min) | Email.Receiver |
Sender and attachment guard | Sender domains, recipient routing, size and type limits; quarantine mode | Email.Receiver |
Forwarded bundles split | Inline-forward reader; each inner e-mail classified with its own payer hint | Email.Parser |
Remittance classification | Scores amounts, invoice patterns and vocabulary; bank-export classifier | Email.Parser |
Every common format | PDF text layer, images by signature, spreadsheet reader, ZIP expansion | Extraction |
Check image reading | Vision OCR prompt: courtesy and legal amounts read separately, MICR parsed | Extraction |
ACH addenda and EDI 820 | CCD+ RMR and EDI 820 REF/RMR/BPR/TRN parsing; candidates checked vs ERP | Extraction |
Card deposit breakdown | ICardBatchReader plug-in per processor's batch report format | Abstractions |
Duplicate recognition | Message-ID dedupe plus remittance content hash before any read | Extraction |
Intake health and self-healing | Heal pass every 15 min: retries, re-reads by newer readers, verdicts | Email.Receiver |
| AI reading | ||
Read cascade | Text layer, then text model, then vision; first read passing checks wins | Workflow |
Vision extraction | Vision parser on an OpenAI-compatible or Ollama model, JSON output | Extraction |
Per-field confidence | Per-field scores; extracted vs expected comparison for check fields | Extraction |
Payment channel inference | Channel read from the document's own wording | Extraction |
Joined invoice lines | Split only when every number resolves to one ERP invoice | Workflow |
| Matching | ||
Payer identification | Resolver over invoice refs, sender, signature, ACH IDs and name words | Matching |
Customer synonyms | Payer fingerprints and aliases; confirmed beats learned; conflicts flagged | Workflow |
Payer groups | Group roll-up resolved from the customer-code map, not new schema | Matching |
Open-invoice matching | Deterministic allocator with tolerance; candidate sets, nearest due first | Matching |
Short-pay reasons | Classifier over the line's own annotation and the variance | Matching |
Credit memos and on-account | Credit-memo netting; on-account reconciled to invoice when advice arrives | Workflow |
Contested invoices | Live claim ledger across advice lines and bank allocations | Matching |
Advice-to-deposit pairing | One-fit pairing; advice combinations that sum to a credit; late advices | Workflow |
Deposit tie-out | Deposit integrity check; decimal money types only, never floating point | Workflow |
Partial-clue suggestions | Partial invoice numbers, amount-only advices, older invoices | Matching |
| Agents and confidence | ||
Multi-agent review | Deterministic reconciler; critic may only lower confidence; linter, auditor | Agents |
Confidence gate | Single deterministic gate; thresholds (default 98% / 90%); hold-anomalies | Workflow |
Escalation agents | Payer investigator, re-reader, invoice hunter, options strategist | Workflow |
Explainable trace | Run steps with evidence, timing and who produced them | Persistence |
Posting allow-list. Restrict posting to chosen customers and named approvers.
| Feature | What it does | Category / module |
|---|---|---|
| Review and work | ||
Reconcile Inbox and Today | Inbox ordered by confidence; Today digest of one business day | Ui |
Match and Reconcile board | Each payment in exactly one state; search, saved views, layouts | Workflow |
Line-by-line workbench | Apply, partial, on account, credit memo; re-map, split, re-classify | Workflow |
Short-pay investigation | Investigation tasks; journal write-off only when preconditions are met | Workflow |
Alerts and daily digest | Notification log rows; delivered by the platform notification service | Notifications |
Works inside the ERP | B1 add-on with server-signed, single-use launch; or the web console | Ui |
| Posting and control | ||
Five posting levels | Level capped by an environment ceiling; reason required; pause all posting | Posting |
Pilot lists and approvals | Allow-lists, per-payment caps, second-approver threshold, role-gated admin | Posting |
Earned autonomy | Per-kind record of confirmed vs contradicted; one miss keeps review | Workflow |
ERP posting | Idempotent instructions via the connector or add-on queue; journal entries | Posting |
Payment Run and daily run | Wizard: dates, deposits, customers, report, execute; daily run at level 5 | Workflow |
Reversal | Reopens the invoice, un-applies cash, posts the reversing entry | Workflow |
Already-paid detection | Reads ERP payments and balances before any posting is queued | Posting |
| Learning | ||
One-click feedback | Structured reason codes stored against the exact proposal version | Workflow |
Learns from corrections | Payer alias learner, rule and prompt drafts, learning from ERP history | Workflow |
Versioned prompts and rules | Draft, Backtested, Active, Archived; diff, rollback, return to shipped | Persistence |
Back-test before go-live | Golden set replay; only a version with no false auto-post can activate | Workflow |
| Measurement | ||
Day back-test | Answer key from ERP journal or balance report; wrong postings headline | Workflow |
Shadow mode and scorecard | Shadow postings, determinism check, live shadow scorer per bank day | Workflow |
Daily bank and balance reports | Daily bank, balance and posting reports; .xlsx export with totals | Workflow |
Agent performance | Learning views: proposals, corrections, active versions, performance | Workflow |
| Platform | ||
Pluggable AI models | OpenAI-compatible gateway, Ollama or Gemini; deterministic mock offline | Agents |
Private inference option | Self-hosted models; outbound egress default-deny in hosted deployments | Hosting |
Architecture rules in tests | No direct bank/ERP egress; HTTP only in inference; no float money | ArchitectureTests |
Settings with impact preview | Feature flags default off; impact preview; posting admin role | Ui |
Full decision log | Agent runs, model and prompt version, posting-level changes, approvals | Persistence |
Diagnostics | Diagnostics screen; add-on health report and log upload | Ui |
Intake health. Verified, healing, needs a person, duplicates and quarantined.
Learning. Proposals, corrections, active versions, agent performance and back-test by day.
Version history. Compare any two versions, roll back, or return to shipped defaults.
Matching and allocation are code.
One gate; hard errors always block.
No direct bank or ERP egress.
Self-hosted or approved providers.
Versioned, back-tested, reversible.
Example dataConfiguration you can read. Every value the agents decided under, with its key.
Feedback at phone width.
Modules, rules enforced by tests, and the two ways out.
Hosting, access, data handling and the posting controls.
Day back-tests and shadow scores on your own past days.
Review the architecture, security controls and deployment options with Clarity's engineers.