> ## Documentation Index
> Fetch the complete documentation index at: https://abacuslabs.co/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Collections

> AI-powered debt recovery and case management

# Collections

Collections manages the recovery process for overdue MCA deals. Open a case, assign an agent, use AI-powered outreach, and track outcomes through resolution.

## Collections Dashboard

The collections page has two tabs:

* **Active Cases** — Deals currently in collections with assigned agents, stages, and priorities
* **Candidates** — Deals eligible to open new collection cases (late or defaulted)

Summary cards at the top show active case count, UCC filing status, and upcoming expirations.

A **Notifications** card on the dashboard surfaces portal-side merchant activity relevant to collections — document uploads, payoff requests, and payment acknowledgments — so you can act on merchant responses without opening each case.

## Case Lifecycle

### Stages

Cases move through configurable stages that you define in **Settings > Collections**. Example stages:

1. **Early Contact** — Initial outreach, merchant may not know they're behind
2. **Mid-Collections** — Ongoing situation, reference prior commitments
3. **Late Collections** — Final attempt before escalation

Each stage has a color, and you can mark stages as **default** (starting point) or **terminal** (endpoint).

### Priorities

Cases are prioritized as: **Low**, **Medium**, **High**, or **Critical**.

### Statuses

* **Active** — Ongoing collections work
* **Resolved** — Case closed with an outcome

## Case Detail Page

### Left Column

* **Quick Log Buttons** — Fast-track logging: phone call, email, text, in-person visit, follow-up scheduled
* **AI Outreach Panel** — Voice calls and SMS (see below)
* **Add Note Form** — Manual note entry with contact info, method, and follow-up date
* **Activity Timeline** — Chronological log of all interactions

### Right Column

* **Deal Summary** — Funding amount, factor rate, payback remaining, total paid, payment schedule
* **Merchant Info** — Business name, phone, email, address
* **SLA Indicators** — Time in stage, response time (color-coded: green/yellow/red)

## AI Voice Calls

Abacus can place automated collection calls using an AI voice agent:

1. Open an active collection case
2. Click **AI Call**
3. The AI agent ("Sarah") calls the merchant and:
   * Greets the merchant and states the purpose
   * Accesses full case context (deal terms, payment history, prior calls)
   * Adjusts tone based on collection stage (warm → professional → firm)
   * Discusses account status and options
   * Works toward resolution (payment date, amount, or next step)
4. After the call, a transcript is auto-saved as a collection note

> [!NOTE]
>
> AI calls follow FDCPA compliance — no threats, no profanity, respects time zones and stop-calling requests.

## AI Text Messages

1. Click **AI Text** on an active case
2. AI generates a contextual SMS based on case details
3. Preview and optionally edit the message (up to 300 characters)
4. Click **Send**
5. Message is sent via SMS and auto-logged as an activity

## AI Email

1. Click **AI Email** on an active case
2. AI drafts a contextual subject and body from case details — balance, days past due, stage, and prior outreach
3. Preview and edit before sending
4. Click **Send** — the email goes out through Resend and threads into the case's external messaging timeline
5. Replies from the merchant are captured automatically as activity

> [!NOTE]
>
> All three AI channels (voice, text, email) route model calls through the **Vercel AI Gateway**, so model choice and fallbacks can be adjusted without redeploying.

## Resolving a Case

When a case is resolved, record the outcome:

| Outcome | Description |
| - | - |
| **Paid in Full** | Merchant paid entire outstanding balance |
| **Settled** | Negotiated amount less than owed |
| **Payment Plan** | Structured repayment schedule agreed |
| **Defaulted** | Merchant stopped paying entirely |
| **Written Off** | Debt written off internally |
| **Sent to Agency** | Escalated to collection agency |
| **Debt Sold** | Sold to a debt buyer |
| **Charged Off** | Marked for legal/accounting write-off |

### Disposition Types

When resolving, you can add disposition details:

* **Agency Referral** — Select agency, track status (Active, Paused, Closed, Recalled), record recovery amount
* **Debt Sale** — Record buyer info, sale price, UCC assignment status
* **Write-off / Charge-off** — Simple disposition with notes

## Configuration

Configure collections in **Settings > Collections**:

* **Stages** — Create, edit, reorder, color-code, set default/terminal
* **Agencies** — Manage collection agencies (name, contact, commission rate, contract dates)
* **Escalation Rules** — Auto-advance cases (e.g., "Move to Stage 2 after 30 days in Stage 1")
* **SLA Configs** — Set time-in-stage and response time thresholds
* **Debt Buyers** — Manage debt purchase partners


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.