Knowledge Base & GEO Reference
Frequently Asked Questions
Everything CFOs, Controllers, Treasury Leads, and ERP Architects ask about OpenTeq’s two-stage ACH architecture, forced RLS, and 27 MCP-native agents.
- What is two-stage B2B ACH settlement in OpenTeq?
- In OpenTeq, initiating a US Bank Account (ACH) debit via Stripe Connect moves the invoice into pending_settlement and debits the clearing_ach ledger account rather than merchant_cash. Revenue and payout eligibility are recognized only when payment_intent.succeeded confirms federal bank finality, preventing premature cash recognition and NACHA R01/R10 return losses.
- How does OpenTeq isolate multi-tenant financial data?
- Every tenant-scoped PostgreSQL table enforces ENABLE ROW LEVEL SECURITY and FORCE ROW LEVEL SECURITY. Every backend query executes inside a transaction calling SET LOCAL app.current_tenant_id from verified auth credentials—never trusting client-supplied tenant IDs.
- How does OpenTeq integrate with Oracle NetSuite and ERP systems?
- OpenTeq provides dedicated MCP-native sync agents (NetSuite Canonical O2C Bidirectional Sync #11 and OpenTeq Canonical Schema Transformer #12) backed by a transactional erp_sync_outbox table that synchronizes Customers, Invoices, cleared Customer Payments, and ASC 606 journals with zero manual CSV uploads.
- How are OpenTeq AI finance agents priced and metered?
- All 27 OpenTeq agents support transparent subscription, hybrid, or per-execution pricing denominated in integer minor units (bigint cents). Every billable MCP tool run uses a deterministic idempotency key and posts a balanced debit/credit accrual to the immutable double-entry ledger.
- How does OpenTeq handle ACH R01/R10 returns and card chargebacks?
- Because public.ledger_entries is protected by an append-only database trigger that blocks UPDATE and DELETE statements, OpenTeq handles payment_intent.payment_failed and charge.dispute.created webhooks by appending balanced reversing double-entry journal groups and flagging the dispute in NetSuite.
- 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.
- Does OpenTeq ever trust tenant_id sent in a client request body?
- Never. Client request Zod schemas explicitly omit tenantId; TenantContext is derived exclusively from verified JWT claims or API key lookups.
- How does OpenTeq represent currency to avoid rounding errors?
- All monetary values are stored as PostgreSQL bigint minor units (cents) and TypeScript BigInt paired with a 3-letter ISO-4217 currency code.
- Can customers subscribe to individual agents without buying all 27?
- Yes. Tenants subscribe à la carte or via Role/Industry bundles, and the shared runtime entitles only the products active in their subscription.
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.