# The client list: stages, tags, custom fields and saved views

> Run your firm's clients from one list and one dashboard: leads and connected clients, stages, tags, custom fields, saved views, the client record, the firm dashboard with its alerts, the books health score and portfolio questions to the assistant.

Source: /help/en/firm/client-list-tags-and-dashboard

**Clients** in the sidebar is your firm's client list: every client the signed-in member's groups admit, connected or not. It is the firm's CRM: a stage, tags, custom fields, the relationship owner, a comment thread and an activity log per client.

This page is for firms on the Professional plan and above (the partner workspace). On Starter the Clients page keeps its **Invitations** and **Usage** tabs only.

## Leads and connected clients

A client record exists before the client is connected. Add one with **New client**: a name, optionally the Arabic name, the TRN, a stage, the relationship owner and tags. A client without a connection is a **lead**: it costs nothing and is not counted against the plan's client allowance.

| Stage | Meaning | Set by |
|---|---|---|
| Lead | A prospect; no connection yet | You |
| Onboarding | The connection request is out, or the client is being set up | The request (automatically) or you |
| Active | The client accepted the firm | Acceptance (automatically) or you |
| Former | The connection was ended or declined | Ending the link (automatically) or you |

When you invite a client by TRN (**Add client**) and a lead carries that TRN, the lead becomes the connected client: nothing is duplicated. Leave the TRN empty when you do not know it; it is never guessed and stays empty over the API too.

**Archive** hides a client record you no longer need (a lost lead); the record stays in the audit log and can be restored. A client with a live connection is not archived: end the connection first.

## The list

- **Search** finds a client by name, Arabic name, TRN or tag.
- **Stage chips** filter the list; the active chip sits in the page address, so a link to the list keeps it.
- **Group**, **Tag** and **Custom field** narrow the list further; pick a client field and type the value.
- **Compliance** shows the connected client's invoice position: all good, drafts waiting, or rejections to look at. The word is always written; it is never a colour alone.
- **Open client** enters the client's books (web access to clients must be on for your firm); the row itself opens the client record.
- A member sees only the clients of the groups their teams are linked to; owners and admins see every client ([Client groups, teams and the role matrix](/help/en/firm/client-groups-and-access)).

## Tags

Tags segment clients by anything you like: industry, office, service, tax year (`tax-year-2026`). Set them on the client record, or many at once: tick the rows, then **Add tag** or **Remove tag** in the bar above the table. **Set stage** works the same way. Every bulk change shows **Undo** next to the count for as long as you stay on the page.

Tags are kept distinct without regard to case: *Retail* and *retail* are one tag.

## Custom fields

Define client fields under **Settings → Documents → Custom fields** with the level **Client** (text, number, date, yes/no or a list of options). They appear on the client record and in the **New client** and **Edit client** dialogs, in the **Custom field** filter of the list, and over the API as `custom` on `GET /clients` and `PATCH /clients/{id}`. A value is checked against its field: a date must be a date, an option one of the list; an unknown field is refused.

## Organisation fields

A field with the level **Organisation** (under **Settings → Documents → Custom fields**) holds a fact about a company, such as its industry or year end. The value lives on the client's own organisation: the client's members and every firm managing it see the same value, and the organisation's own members may define organisation fields of their own. Your accountants set a connected client's values from the **Organisation fields** card of the record (**Edit values**), and the list filters on them with the **Organisation field** filter. Over the API the firm filters with `GET /clients?orgCustom.<key>=<value>`, reads and writes a client's values with `GET` and `PUT /settings/custom-values` under `X-Organization-Id`, and the row's `orgCustom` carries them.

## Saved views

**Views** above the table saves the filters you have on (stage, group, tag, custom field, search) under a name. A view is yours unless you tick **Share with the organisation**, which makes it visible to every member of the firm. Apply a view from the same menu; delete it there too. Shared views are kept by accountants, admins and owners.

## The client record

Open a row to see the record:

- **Details**: name, Arabic name, TRN, stage, relationship owner, tags; **Edit client** changes them.
- **Connection**: the link's status, the access the client chose (accountant or viewer) and your own role in the client, and the groups you reach it through.
- **Groups**: which groups hold the client; change them under **Settings → Firm → Groups and teams**.
- **Custom fields**: the client-level fields and their values.
- **Contacts**: the people at the client (name, role, email, phone), one marked **Primary**. **Add contact** types one in; **Pre-fill from the client** (on a connected client) adds the client organisation's owners, admins, accountants and approvers and its contact details that are not on the record yet, with the owner as the primary when none is set. The people the client still offers are listed under the card; a removed contact is gone from the record only, never from the client's organisation.
- **Engagement years**: one binder per year that groups the year's jobs, the documents on them and their sign-offs. A job on the client opens its year's binder by itself (the year of the job's period end, else its due date); **New binder** adds an earlier year. Open a binder to see the jobs, documents and sign-offs; **Rename**, **Archive** (the jobs stay filed) and **Delete binder** (the jobs stay and are unfiled) sit in its menu.
- **Organisation fields**: the organisation-level fields that apply to the connected client and their values (see below).
- **Comments**: the firm's internal thread on the client; mention a colleague with `@`.
- **Activity**: the connection's history, the firm's changes to the record, what firm members did inside the client's books, and the comments, newest first.

## Metrics

The client record's **Metrics** tab (once the client has connected its books) shows every KPI of the client's books as a card: the value, a sparkline of the last twelve months and **See what is behind it**. The figures come from the client's ledger: the pack's six KPIs (gross margin %, current ratio, days sales outstanding, days payables outstanding, operating expense ratio, revenue growth) and any KPI the client built in the [report builder](/help/en/reports/custom-reports#kpis). **See what is behind it** switches into the client and opens the figure's statement, when you may work in the client's books. When the client has no posted entries in the last twelve months the tab says so.

You see the metrics of the clients you may reach only: the clients of the groups your teams are linked to (owners and admins: every client). Over the API it is `GET /clients/{id}/metrics?to=` (`client_not_found` for a client outside your groups); an assistant uses `get_client_metrics`.

## The firm dashboard

**Firm dashboard** in the sidebar (`/firm`) ranks every connected client you can open by what needs doing. A member sees only the clients of the groups their teams are linked to, exactly as on the client list; owners and admins see every client.

- **The cards** count the clients with an overdue close, a broken bank feed, something waiting on the client (open questions, request items, sign-offs) and a low health score. Click a card to show only those clients.
- **The signal chips** filter the list by one signal: close late, bank feed broken or stale, awaiting the client, low health score, filing deadline near, jobs overdue, posting errors. The chip sits in the page address.
- **The table** shows per client the oldest open close with how many days it is late (its due date is the latest due date of its tasks, else the period end), its progress and who holds the open tasks; the last close; the health score and its change since the previous day it was kept; the VAT and corporate tax filing status with the deadline; what waits on the client; the bank feeds and the unposted bank lines; open and overdue jobs with the time logged this month; the assignee (the relationship owner, else the preparer of the next open job); and the signals. Every status is a word on a badge.
- **Group**, **Assignee** and **Sort** narrow and order the list: sort by days late (the default, the most late first), health score, assignee, name, last close, most signals or nearest deadline. **Views** saves the filters, as on the client list.
- **Ask the assistant** opens the assistant on "Which client has the oldest close?" (see below).

Click a row to open the client record. The record now carries two more cards: **Books health** and **Portfolio summary**.

## My week

Above the **Clients**, **Alerts** and **Alert rules** tabs, the firm dashboard shows your own cards: **My week**, **Alerts**, two benchmarks and **Portfolio**. They are the firm member's dashboard, so each member sees their own figures.

**My week** shows the dates of the week and three groups:

- **Work due this week**: your jobs and tasks due in the week, each with "Due" and its date; a late one reads "Overdue since" and its date. With nothing due it says "Nothing is due this week."
- **Alerts**: the open alerts of the clients you can open, or "No open alerts."
- **Waiting for my approval**: what waits for your sign-off, or "Nothing is waiting for you."

**Open all** on a group opens its full list. **Arrange** moves, resizes or hides the cards and **Add widget** adds one (the kinds **List**, **My week** and **Benchmark**), exactly as on [the ordinary dashboard](/help/en/reports/dashboards); the arrangement is your own, and an owner or admin of the firm sets the default under the **Firm member** tab of **Settings → Workspace → View** → **Dashboards**.

## Benchmarks

A benchmark card compares one figure across your clients: each client's figure beside the median, shown as **Median of** so many **clients**. The firm dashboard starts with two: **Gross margin against the median** and **Books health against the median**. **Add widget** → **Benchmark** offers the other figures: the days the close is late, the close progress, the unposted bank lines, the open client requests and the overdue jobs.

- The median is taken over the clients you can open, and only those clients are listed. A client outside your groups is not counted, so two members with different groups may see a different median.
- A client that has no such figure yet (no posted entries, for the gross margin) is left out; when no client has it the card says "No client you can open has this figure yet."
- The figures come from each client's own books, the same ones the client record's **Metrics** tab and the health score show.

## The books health score and its deductions

The score starts at 100. Each kind of finding in the client's books (the ledger checks, open close findings, negative cash or bank balances, a balance on the suspense account, bank lines in needs review, documents that did not post, reconciliations with a difference, duplicate counterparties) takes points: the weight of its severity times its count, the count capped. The weights and the cap come from the country pack (in the UAE pack an error weighs 8, a warning 3, a note 1, counted up to 5 of a kind). The **Books health** card lists each deduction with its points, and the deductions always add up to 100 minus the score (a score cannot go below 0; when it would, the last deductions keep only the points left). **Open the finding** switches into the client and opens the page of the first record behind it.

The score is kept every night for every organisation with a ledger; the card draws the trend line from those days and shows the change since the previous one. **Keep today's score** keeps it now (it replaces today's row). A change of the pack's weights changes later days only; the history is not recomputed.

## Alerts and alert rules

A signal becomes an **alert** when it breaches a rule. The **Alert rules** tab lists one rule per signal: the comparison (at or above, at or below), the threshold, the severity, whether it is on and whether it notifies. Every rule starts as the platform default; change the threshold and **Save rules** to give your firm its own rule (the default stays shown beside it); **Back to the default** removes your rule. Accountants, admins and owners change the rules.

The rules run every night after the scores are kept, and on **Run alerts now**. An alert opens once per client and signal; when the rule says notify, the members of the teams linked to the client's groups get one notification, and nobody outside those groups. An alert resolves by itself when the client no longer breaches the rule (the feed is fixed, the close is done). The **Alerts** tab lists them, errors first; a click opens the client record.

## Asking the assistant about your clients

Ask the assistant a question across your clients, in English or Arabic: "Which client has the oldest close?", "Which clients have a broken bank feed?", "Who has the lowest health score?", "Which clients have the most open questions?". It reads the dashboard's figures of the clients your groups give you, answers with each client and its figure, and lists each client record as a source. It never reads or names a client outside your groups, even when you name it.

## Over the API and to an assistant

`GET /clients` lists what the key or the connected assistant may see with the same filters (`search`, `stage`, `tags`, `group`, `custom.<key>`, `sort`); `POST /clients` creates a lead; `PATCH /clients/{id}`, `POST /clients/{id}/stage`, `PUT /clients/{id}/tags` and `PUT /clients/{id}/custom` change it; `GET /clients/{id}/activity` reads the activity; `/list-views` saves views. The dashboard is `GET /firm/portfolio` (the same filters, `sort`, `limit` and `cursor`), `POST /firm/portfolio/query` (a metric, filters and a comparison), `GET /firm/alerts`, `POST /firm/alerts/run`, `GET` and `PUT /firm/alert-rules` and `GET /clients/{id}/portfolio`; a client's score history is `GET /ledger/health/trend` and `POST /ledger/health/snapshot` inside the client (`X-Organization-Id`). The contacts are `GET`, `POST` `/clients/{id}/contacts`, `PATCH` and `DELETE` `/clients/{id}/contacts/{contactId}` and `POST /clients/{id}/contacts/prefill`; the binders `GET` and `POST` `/clients/{id}/binders` and `GET`, `PATCH`, `DELETE` `/binders/{id}` with `POST /binders/{id}/archive`. The MCP tools `list_clients`, `get_client`, `create_client`, `update_client`, `list_client_contacts`, `save_client_contact`, `prefill_client_contacts`, `list_client_binders`, `get_client_binder`, `save_client_binder`, `get_organization_custom`, `set_organization_custom_values`, `get_portfolio`, `list_portfolio_alerts`, `query_portfolio` and `get_books_health_trend` do the same for an assistant. The firm member's cards are `GET /dashboard?role=firm` (my week, the alerts, the benchmarks and the portfolio, for a signed-in person) and the tool `get_dashboard` with the role `firm`. Reference: docs.alyabooks.ai.

## Walkthrough

1. Open a connected client's record and click **Pre-fill from the client**: its owner, admins, accountants and approvers appear as contacts with the owner marked Primary; **Add contact** adds a person the client did not list; the menu makes another the primary.
2. Settings → Firm → Work templates → apply a template to the client for last month: the client record's **Engagement years** card shows the year's binder with one job; open it to see the job, its documents and sign-offs. Rename the binder, archive it (the job stays filed), restore it.
3. Settings → Documents → Custom fields → **Field** "Industry", a choice list, level **Organisation**. On the client record, **Edit values** under **Organisation fields** sets it; sign in as the client's owner: Settings → Documents → Custom fields shows the firm's field as applying, and the value reads the same.
4. On the Clients list, the **Organisation field** filter on Industry narrows the list to that client; `GET /clients?orgCustom.industry=…` answers the same row.
5. Open **Firm dashboard**: the cards count the overdue closes and broken feeds; click **Broken bank feeds** and the list shows that client only; sort by **Assignee**.
6. Open a client with a low score: the **Books health** card lists the deductions; their points add up to 100 minus the score; **Open the finding** on one lands on its record inside the client.
7. **Alert rules**: set **Low health score** to at most 80 and **Save rules**; **Run alerts now**; the **Alerts** tab lists the client, and only the members of its groups got the notification.
8. Ask the assistant "Which client has the oldest close?": the answer names the client with its days late and links its record.
9. Open a connected client's **Metrics** tab: **Gross margin %** shows its value and the twelve-month sparkline; **See what is behind it** opens the profit and loss inside the client.
10. Open **Firm dashboard**: **My week** lists the work due this week, your clients' alerts and what waits for your approval; **Gross margin against the median** lists each client you can open beside the median. Sign in as a member limited to one client group: the benchmark lists that group's clients only and its median is theirs.

## Related

- [Client groups, teams and the role matrix](/help/en/firm/client-groups-and-access)
- [Work in a client's account](/help/en/account-and-setup/work-in-client-accounts)
- [Custom fields](/help/en/settings/custom-fields)
- [Dashboards per role and per member](/help/en/reports/dashboards)
