Real-Time Double-Entry Ledger Watchdog
Continuously audits zero-sum debit/credit balance and clearing account staleness.
Identifies remitters on unapplied wires/ACH credits and reclassifies suspense rows.
A $38,450 wire lands from "HOLDINGS TREASURY LLC" with zero invoice number in the memo field. Accounting parks it in Suspense while Collections keeps emailing the subsidiary for payment.
Binds SET LOCAL app.current_tenant_id, validates tenant ownership, confirms Stripe Connect rail readiness, and evaluates achSettlementHold=true.
Dispatches validated payloads across suspense.unmatched_payments.list, customers.remitter.identify, ledger.reclassify with Zod runtime schemas and zero raw SQL leakage.
Posts balanced DEBIT accounts_receivable / CREDIT revenue in integer cents and enqueues canonical payloads for netsuite + openteq_canonical.
Continuously audits zero-sum debit/credit balance and clearing account staleness.
Matches connected merchant bank payouts to individual invoice settlements and fees.
Extracts line items from PDF/email remittances and fuzzy-matches open invoices.
Start with a single Wave 1 agent or equip a complete role blueprint. Every tenant runs on forced PostgreSQL RLS and zero-sum double-entry accounting.