OT
OpenTeq
Start Free Trial
← All 4 Architecture Pillars
PILLAR 01

Two-Stage B2B ACH Settlement Architecture

Eliminate premature revenue recognition and NACHA R01/R10 clawback losses.

OpenTeq separates bank debit initiation (Stage 1: pending_settlement + clearing_ach hold) from federal settlement finality (Stage 2: settled + merchant_cash) so high-value B2B ACH payments never corrupt your general ledger or trigger premature payouts.

$0
Premature ACH Write-Offs
215 bps
Average Fee Savings vs Card
T+3 Days
Clearing Hold Window

Technical Specification

Stage 1 — Bank Initiation (payment_intent.processing)

Transitions invoice status to pending_settlement, debits clearing_ach and credits accounts_receivable, and activates achSettlementHold on protected downstream agents.

Stage 2 — Settlement Finality (payment_intent.succeeded)

Transitions invoice to settled, releases clearing_ach into merchant_cash + platform_fees, lifts achSettlementHold, and enqueues NetSuite CustomerPayment sync.

Async Return & Dispute Defense (R01 / R10)

On payment_intent.payment_failed or charge.dispute.created, appends an immutable reversing double-entry group—never mutating or deleting historical ledger rows.

Technical FAQ

Why does OpenTeq hold ACH funds in clearing_ach instead of merchant_cash?
ACH debits can return R01 (Insufficient Funds) or R10 (Unauthorized) up to 3 business days after initiation. Holding funds in clearing_ach ensures merchant cash and partner payouts reflect only cleared funds.
Can out-of-order Stripe webhooks regress a settled invoice?
No. Both TypeScript state machines (@o2c/contracts) and SQL WHERE status = ANY(...) guards block delayed payment_intent.processing webhooks from reverting a settled invoice.

OpenTeq Agents Powered by This Pillar

#02 • WAVE 1100% ACH return protection

Two-Stage B2B ACH Settlement Guardian

Protects revenue recognition during T+3 bank clearing and auto-reverses R01/R10 returns.

payments.ach.track_clearingpayments.ach.handle_return+1 more
$799.00/moTenant
Specs
#03 • WAVE 1Saves avg 215 bps per invoice

Card vs. ACH Smart Rail Router

Dynamically steers high-value B2B checkouts from 2.9% commercial cards to instant ACH.

payments.rails.evaluate_costpayments.intents.create_connect
$0.00/mo+ $0.50/runBuyer Portal
Specs
#08 • WAVE 1Instant NACHA compliance

B2B ACH Mandate & Instant Verification Agent

Captures NACHA online mandates and verifies buyer bank accounts via Financial Connections.

ach.mandates.captureach.financial_connections.verify+1 more
$0.00/mo+ $1.50/runBuyer Portal
Specs
#19 • WAVE 364% win rate on contested disputes

Card Dispute & ACH R01/R10 Return Defender

Classifies NACHA returns, posts reversing ledger entries, and builds dispute evidence.

disputes.evidence.assembleach.return_code.classify+1 more
$649.00/mo+ $2.50/runTenant
Specs

Ready to deploy autonomous Order-to-Cash across your NetSuite & Stripe Connect stack?

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.