> ## 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.

# Deals

> Manage the full lifecycle of Merchant Cash Advance deals

# Deals

Deals are the core of Abacus — each deal represents a Merchant Cash Advance agreement where a merchant receives funding in exchange for a portion of future revenue.

## Deal Lifecycle

Deals progress through pipeline stages as they move from intake to completion:

**1. Intake**

Deal enters the system — either manually created or from a broker submission.

**2. Underwriting**

Application under review. Documents collected, scoring calculated, buy box evaluated.

**3. Approved / Declined**

Decision made based on underwriting analysis. Approved deals move to contracting.

**4. Contracted**

Terms finalized, contracts signed, ready for funding.

**5. Funded**

Capital disbursed to merchant. Payment collection begins.

**6. Closed**

Deal completed — paid off, settled, or defaulted.

## Deal Statuses

Once funded, deals are tracked by their payment status:

| Status | Description |
| - | - |
| **Active** | Currently collecting payments |
| **Paused** | Temporarily halted |
| **Late** | Payments overdue |
| **In Collections** | Past due, enforcement action initiated |
| **Paid Off** | Fully repaid |
| **Defaulted** | Contract breach |
| **Settled** | Resolved after default for less than owed |
| **Debt Relief** | Portion of debt forgiven |
| **Renewal** | Re-up of existing relationship |
| **Under Review** | Status being reviewed |
| **Buyout** | Refinanced with another lender |
| **Prospect** | Pre-deal stage |

## Deal Fields

### Core Terms

| Field | Description |
| - | - |
| **Deal Code** | Unique identifier (e.g., "DEAL-001") |
| **Funding Amount** | Principal amount funded to merchant |
| **Payback Amount** | Total amount merchant must repay |
| **Factor Rate** | Multiplier applied to funding (e.g., 1.30x) |
| **Buy Rate** | Secondary rate for spread calculations |
| **Daily Payment** | Calculated recurring payment amount |
| **Payment Frequency** | Daily, Weekly, Bi-weekly, Monthly, or Variable |
| **Contract Term** | Duration of the agreement (months) |
| **NSF Fee** | Fee charged on failed payments (default: \$35.00) |

### Dates

| Field | Description |
| - | - |
| **Funded At** | Date the deal was funded |
| **Expected Payoff Date** | Projected completion date |
| **First Payment Date** | When first payment is due |
| **Maturity Date** | Contract end date |

### Financial Tracking

| Field | Description |
| - | - |
| **Current Balance** | Amount remaining to be paid |
| **Total Paid** | Cumulative payments received |
| **NSF Count** | Number of failed payment attempts |
| **Holdback Percentage** | Percentage of funding held back |

## Creating a Deal

1. Navigate to **Deals** in the sidebar
2. Click **Create Deal** (top-right)
3. Select a merchant (or create one inline)
4. Fill in deal terms: funding amount, payback amount, factor rate, payment frequency
5. Optionally assign a broker and commission
6. Set the funding method (ACH, Wire, Check, Same-Day ACH)
7. Save

> [!NOTE]
>
> If underwriting is enabled, deals can only be created for approved merchants. The "Create Deal" button appears on the merchant detail page after approval.

### Compliance Alerts

As you fill in deal terms, Abacus surfaces real-time compliance warnings based on the merchant's state of operation. For example, if the implied APR exceeds a state's reasonable threshold, or if required state-specific disclosures are missing, an alert appears inline on the form. These alerts cover 11 states today (see [Compliance Generation](https://abacuslabs.co/docs/docs/integrations#compliance-generation)) and expand as more state rules come online.

## Deal Detail Page

Clicking a deal opens its detail view with:

* **Header** — Deal code, status badge, key metrics
* **Merchant details** — Link to merchant profile
* **Payment ledger** — Full transaction history for this deal
* **Spread trend chart** — Factor rate vs buy rate over time
* **Documents** — Contracts, UCC filings, and attachments
* **Activity log** — All changes with timestamps and users
* **Broker commission** — Commission details if a broker is assigned
* **Related deals** — Refinances and buyouts

## Lifecycle Events

Beyond manual edits, a few automated flows attach to deals:

### Payoff Requests

When a merchant submits a payoff request from the [Merchant Portal](https://abacuslabs.co/docs/docs/merchant-portal), an **operator approval card** appears on the deal detail page. The operator reviews the requested amount and effective date, then **approves** or **declines**:

* **Approved** — Abacus generates the payoff letter PDF with wiring instructions and sends it to the merchant. The request is logged to the activity timeline.
* **Declined** — The merchant is notified that the request wasn't approved; the operator can add a note explaining why.

This keeps control over payoff letters with the funder while still giving merchants a self-serve request flow.

### Funded Notification

When a deal transitions into the **Funded** pipeline stage, a notification is automatically queued for the merchant confirming that capital has been disbursed, along with the first payment date and a link to the portal. This replaces the manual "let the merchant know" step after funding.

## Summary Chips

The deals list page shows summary statistics:

* **Total Deals** — Count of deals matching current filters
* **Total Principal Funded** — Sum of all funding amounts
* **Total Paid** — Sum of all payments received
* **Above Principal** — Amount collected above the funded amount
* **Average % Paid** — Average payment progress across deals
* **Average Spread** — Average factor rate minus buy rate
* **Total Spread** — Sum of all spreads

## Filtering & Sorting

### Filters

* Status (multiple selection)
* Date range
* Funding method (ACH, Wire, Check, etc.)
* Payment frequency (Daily, Weekly, etc.)
* Amount range
* Minimum NSF count
* Minimum paid percentage

### Sort By

* Deal Code
* Funding Amount
* Payback Amount
* Current Balance
* NSF Count
* Funded Date


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