Skip to content
commerce-accounts-receivable logo

Commerce Accounts Receivable

commerce-accounts-receivable

Manage customer receivables, collections, credit memos, and AR aging. Use when tracking overdue invoices, sending dunning letters, creating write-offs, or generating customer statements.

SKILL.md

Full skill instructions

Commerce Accounts Receivable

Track customer receivables, manage collections, issue credit memos, and monitor AR aging.

How It Works

  1. Monitor AR aging to identify overdue accounts.
  2. Log collection activities (dunning letters, calls, emails).
  3. Issue credit memos for returns, pricing errors, or goodwill.
  4. Apply payments and credit memos to outstanding invoices.
  5. Write off uncollectible balances with approval.
  6. Generate customer statements.

Usage

  • MCP tools: get_ar_aging, get_customer_ar_aging, log_collection_activity, create_credit_memo, apply_credit_memo, apply_payment_to_invoice, create_write_off, get_customer_statement, get_customer_ar_summary.
  • Writes require --apply.

Collection Statuses

  • None -> Reminder1Sent -> Reminder2Sent -> Reminder3Sent -> InCollections -> SentToAgency (or WrittenOff/​PromiseToPay/​PaymentPlan)

Dunning Letter Types

  • Reminder1, Reminder2, Reminder3, DemandLetter, CollectionNotice

Credit Memo Reasons

  • ReturnedGoods, PricingError, Overpayment, Damaged, ServiceCredit, GoodwillAdjustment, Other

Write-Off Reasons

  • Uncollectible, Bankruptcy, CustomerDispute, SmallBalance, AccountClosed, Deceased, Other

Aging Buckets

  • Current, 1-30 days, 31-60 days, 61-90 days, 90+ days

Output

{"status":"dunning_sent","customer_id":"cust_123","dunning_type":"Reminder2","total_overdue":3250.00,"invoices_overdue":3}

Present Results to User

  • Customer name and total outstanding balance.
  • Aging breakdown by bucket.
  • Collection activity history and next recommended action.
  • Credit memo and write-off totals.

Troubleshooting

  • Credit memo won't apply: verify memo status is Open and invoice has remaining balance.
  • Write-off rejected: ensure approver and GL account are provided.
  • Aging mismatch: confirm invoice dates and payment applications are current.

References

  • references/​ar-collections.md
  • /​home/​dom/​stateset-icommerce/​crates/​stateset-core/​src/​models/​accounts_receivable.rs
  • /​home/​dom/​stateset-icommerce/​crates/​stateset-embedded/​src/​accounts_receivable.rs

More Finance & Trading skills

ponytail-debt logo
Finance & Trading

ponytail-debt

Harvest every `ponytail:` comment in the codebase into a debt ledger, so the deliberate shortcuts and deferrals ponytail leaves behind get tracked instead of rotting into "later means never". One-shot report, changes nothing.

155.5K 27.9K
View
stripe-integration logo
Finance & Trading

stripe-integration

Stripe payment processing with checkout sessions, subscriptions, webhooks, and customer management.

40.2K 12.9K
View

Build comprehensive 3-5 year financial models with revenue projections, cost structures, cash flow analysis, and scenario planning for early-stage startups. Use this skill when creating financial projections, calculating burn rate or runway, modeling fundraising scenarios, or preparing investor-r...

40.2K 12K
View
stock-analysis logo
Finance & Trading

stock-analysis

Stock and cryptocurrency analysis with portfolio management and multi-dimensional scoring.

46 11.9K
View
coinglass logo
Finance & Trading

coinglass

Real-time crypto derivatives positioning, whale tracking, liquidations, and institutional ETF flows across 37 specialized tools.

27 11.5K
View

Master dbt (data build tool) for analytics engineering with model organization, testing, documentation, and incremental strategies. Use when building data transformations, creating data models, or implementing analytics engineering best practices.

40.2K 10.5K
View

Finance AI tools

C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Finalle.ai logo
Finance

Finalle.ai

Stay Ahead with Finalle.ai: The Ultimate Financial News and Tools Platform

Free
View

AI-powered Pine Script code generator for TradingView

Paid
View
TradeUI logo
Finance

TradeUI

Empower your investment strategies with AI signals, option flow data, and advanced chart patterns.

Paid
View
D
Finance

Danelfin

Danelfin review covering its AI stock and ETF scores, rankings, portfolio tools, current pricing, strengths, risks, and alternatives for investors.

Freemium
View
E
Finance

Ellisense

A software for comprehensive market sentiment analysis.

Paid
View

'Stock Correlations' App by Freshly.ai: Reveal Stock Patterns and Trends

Free
View