Stripe Connect Payout-to-Bank Reconciler
Matches connected merchant bank payouts to individual invoice settlements and fees.
Continuously audits zero-sum debit/credit balance and clearing account staleness.
Most software platforms store payments as mutable status booleans and JS floating-point numbers. One partial refund, race-condition webhook, or rounding penny breaks the tie-out between Stripe and the ERP.
Binds SET LOCAL app.current_tenant_id, validates tenant ownership, confirms Stripe Connect rail readiness, and evaluates achSettlementHold=true.
Dispatches validated payloads across ledger.audit.zero_sum, ledger.clearing.inspect, ledger.exceptions.flag 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.
Matches connected merchant bank payouts to individual invoice settlements and fees.
Extracts line items from PDF/email remittances and fuzzy-matches open invoices.
Identifies remitters on unapplied wires/ACH credits and reclassifies suspense rows.
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.