Card Dispute & ACH R01/R10 Return Defender
Classifies NACHA returns, posts reversing ledger entries, and builds dispute evidence.
Scores buyer payment history and recommends dynamic credit limits and net terms.
A longtime customer begins paying 18 days slower and bounces a partial ACH debit—yet sales still ships them a $75,000 Net-60 order because their 2023 credit limit was never updated.
Binds SET LOCAL app.current_tenant_id, validates customer_account ownership, confirms Stripe Connect rail readiness, and evaluates achSettlementHold=true.
Dispatches validated payloads across credit.payment_history.score, credit.limit.recommend, customers.terms.update 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.
Classifies NACHA returns, posts reversing ledger entries, and builds dispute evidence.
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.