# List deals in the ledger

One page of the commission ledger: per funded deal, the agreed economics (funded amount, commission, PSF) beside the rollup — what has actually been paid against it, what is still owed, costs, open clawback, how long it has been aging and whether it is past its SLA. Filters: `?facilityId=`, `?lenderId=`, `?status=`, `?reference=`, `?onHold=`, `?pastSla=`, `?from=` / `?to=` on the deal date, `?limit=`. Narrowing by a rep or a team lead is not here — a participant is a stake, so ask `get_accounting_deal-splits` with `?crmUserId=`. For ONE deal with its stakes, costs, allocations and payouts in a single read, `get_accounting_deals_id_detail`.

Access class: `workspace`.

## Endpoint

`GET /v1/accounting/deals`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": [
    "string"
  ]
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
