OT
OpenTeq
Start Free Trial
AGENT #06 OF 27 • WAVE 1Zero unbalanced journal drifttenant

Real-Time Double-Entry Ledger Watchdog

Continuously audits zero-sum debit/credit balance and clearing account staleness.

Provision Tenant →MCP Tool Specs (3) →
Commercial & Settlement Spec
$899.00/ month base
Unlimited executions included in flat subscription
Allowed Payment Rails
card • us_bank_account
Two-Stage ACH Hold
Enforced (Settled Only)
Canonical ERP Targets
netsuite + openteq_canonical
THE ZERO-DRIFT ACCOUNTING STORY

Why Mutable Status Flags Always Fail Financial Audits

ACT I — The Hidden Cost

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.

Chapter 1 / 4
Before OpenTeq
Month-end spreadsheet tie-outs hunting missing pennies across Stripe and ERP exports.
With OpenTeq
Continuous zero-sum double-entry verification with instant anomaly flagging and $0.00 drift.

How Real-Time Double-Entry Ledger Watchdog Executes Inside OpenTeq

STEP 01 • RLS & ENTITLEMENT

Verified Tenant & ACH Hold Gate

Binds SET LOCAL app.current_tenant_id, validates tenant ownership, confirms Stripe Connect rail readiness, and evaluates achSettlementHold=true.

STEP 02 • MCP EXECUTION

Deterministic Tool Invocation

Dispatches validated payloads across ledger.audit.zero_sum, ledger.clearing.inspect, ledger.exceptions.flag with Zod runtime schemas and zero raw SQL leakage.

STEP 03 • LEDGER & ERP SYNC

Double-Entry Metering & Outbox

Posts balanced DEBIT accounts_receivable / CREDIT revenue in integer cents and enqueues canonical payloads for netsuite + openteq_canonical.

Frequently Asked Questions — Real-Time Double-Entry Ledger Watchdog

How does Real-Time Double-Entry Ledger Watchdog enforce multi-tenant data isolation?
Real-Time Double-Entry Ledger Watchdog executes exclusively inside OpenTeq's withTenantTransaction wrapper, which binds SET LOCAL app.current_tenant_id on PostgreSQL tables protected by FORCE ROW LEVEL SECURITY (tenant scope).
Does Real-Time Double-Entry Ledger Watchdog enforce Two-Stage B2B ACH Settlement Holds?
Yes. Because Real-Time Double-Entry Ledger Watchdog performs high-impact financial operations, achSettlementHold is enabled—blocking execution while customer ACH invoices remain in pending_settlement until payment_intent.succeeded confirms bank finality.
How is Real-Time Double-Entry Ledger Watchdog priced and metered?
Real-Time Double-Entry Ledger Watchdog uses the subscription billing model ($899.00/month base, unlimited executions). Every metered run posts a balanced debit/credit accrual in integer minor units (bigint cents).

More Agents in Reconciliation & Cash Application

#07 • WAVE 1100% automated payout tie-out

Stripe Connect Payout-to-Bank Reconciler

Matches connected merchant bank payouts to individual invoice settlements and fees.

connect.payouts.fetchledger.merchant_cash.match+1 more
$749.00/mo+ $0.40/runTenant
Specs
#13 • WAVE 296% straight-through cash match

AI Remittance Advice & Lockbox Cash Applicator

Extracts line items from PDF/email remittances and fuzzy-matches open invoices.

remittance.document.parseinvoices.open.fuzzy_match+1 more
$699.00/mo+ $0.75/runTenant
Specs
#25 • WAVE 3Clears 91% of unapplied suspense cash

Suspense Account & Orphan Payment Resolver

Identifies remitters on unapplied wires/ACH credits and reclassifies suspense rows.

suspense.unmatched_payments.listcustomers.remitter.identify+1 more
$0.00/mo+ $1.00/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.