# Read the accounting dashboard

The workspace's money at a glance: how many funded deals, what was funded, the commission and PSF agreed, how much has actually been paid (collected), what is still owed (outstanding), costs, open clawback, what every participant could draw right now (available), what is held, pending payouts and their total, deals on hold, defaulted or past their SLA, and how many bank lines are still unreconciled. `?from=` and `?to=` (dates) narrow the deal counts to a window; absent means all of it. This is the summary strip — for the deal-by-deal list reach for `get_accounting_deals`, and for what is WRONG rather than what is totalled, `get_accounting_exceptions`.

Access class: `workspace`.

## Endpoint

`GET /v1/accounting/dashboard`

## 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": {
    "availableMinor": 1.5,
    "clawbackOpenMinor": 1.5,
    "collectedMinor": 1.5,
    "commissionCollectedMinor": 1.5,
    "commissionMinor": 1.5,
    "costsMinor": 1.5,
    "deals": 1.5,
    "dealsDefaulted": 1.5,
    "dealsOnHold": 1.5,
    "dealsPastSla": 1.5,
    "fundedMinor": 1.5,
    "grossRevenueMinor": 1.5,
    "heldMinor": 1.5,
    "outstandingMinor": 1.5,
    "pendingMinor": 1.5,
    "pendingPayouts": 1.5,
    "psfMinor": 1.5,
    "unreconciledTransactions": 1.5
  }
}
```

### 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"
}
```
