OT
OpenTeq
Start Free Trial
AGENT #16 OF 27 • WAVE 2Zero duplicate refund leakagecustomer_account

Credit Memo, Refund & RMA Netting Agent

Issues credit memos, nets open invoice balances, and executes idempotent refunds.

Provision Tenant →MCP Tool Specs (3) →
Commercial & Settlement Spec
$549.00/ month base
+ $0.35 per execution (800 included)
Allowed Payment Rails
card • us_bank_account
Two-Stage ACH Hold
Enforced (Settled Only)
Canonical ERP Targets
netsuite + openteq_canonical
THE REFUND LEAKAGE STORY

Stopping Duplicate Credit Memos & Uncontrolled Refund Leakage

ACT I — The Hidden Cost

A warehouse approves an RMA return while customer support simultaneously triggers a Stripe refund—costing twice the merchandise value and breaking the customer’s AR aging balance.

Chapter 1 / 4
Before OpenTeq
Uncoordinated RMA offsets and Stripe refunds causing double-credits and broken AR balances.
With OpenTeq
Atomic balance netting + idempotent Stripe Connect refunds with balanced refunds_returns accounting.

How Credit Memo, Refund & RMA Netting Agent Executes Inside OpenTeq

STEP 01 • RLS & ENTITLEMENT

Verified Tenant & ACH Hold Gate

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

STEP 02 • MCP EXECUTION

Deterministic Tool Invocation

Dispatches validated payloads across credits.memo.issue, invoices.balance.offset, payments.refund.execute 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 — Credit Memo, Refund & RMA Netting Agent

How does Credit Memo, Refund & RMA Netting Agent enforce multi-tenant data isolation?
Credit Memo, Refund & RMA Netting Agent executes exclusively inside OpenTeq's withTenantTransaction wrapper, which binds SET LOCAL app.current_tenant_id on PostgreSQL tables protected by FORCE ROW LEVEL SECURITY (customer_account scope).
Does Credit Memo, Refund & RMA Netting Agent enforce Two-Stage B2B ACH Settlement Holds?
Yes. Because Credit Memo, Refund & RMA Netting Agent 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 Credit Memo, Refund & RMA Netting Agent priced and metered?
Credit Memo, Refund & RMA Netting Agent uses the hybrid billing model ($549.00/month base + $0.35 per metered execution). Every metered run posts a balanced debit/credit accrual in integer minor units (bigint cents).

More Agents in Order-to-Cash & Collections

#01 • WAVE 1-4.2 days billing latency

O2C Autonomous Invoice Dispatcher

Generates, validates, and dispatches B2B invoices with embedded card & ACH pay links.

o2c.invoices.generateo2c.invoices.dispatch+1 more
$499.00/mo+ $0.25/runTenant
Specs
#05 • WAVE 1-6.8 days DSO reduction

Multi-Channel Collections & Dunning Agent

Scans AR aging buckets and sequences multi-channel outreach with 1-click pay links.

collections.aging.scancollections.outreach.send+1 more
$699.00/mo+ $0.35/runBuyer Portal
Specs
#09 • WAVE 1Zero missed billing milestones

Milestone & Recurring B2B Contract Biller

Evaluates multi-year B2B contract schedules and mints milestone invoices automatically.

contracts.schedules.evaluateo2c.invoices.mint_milestone
$849.00/mo+ $0.30/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.