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

# Cases inbox

> The list of customer cases with their status, priority, assignee and SLA, with filters by status, priority, SLA, business unit, assignee and code, and the New case button.

## At a glance

| Field | Value |
| - | - |
| Status | **Available** |
| Route | `/{locale}/customer-care/cases` (the root `/{locale}/customer-care` opens here) |
| Menu | Customer care › Customer care › **Cases** |
| Role | Customer Compensation Agent, Supervisor, Manager and Technician; Customer care Admin, Operator and Viewer; Administrator |
| Permission | `customer-compensation-case:find-all` to see the inbox; `customer-compensation-case:create` for **New case** |
| Feature flag | `customer-compensation` |
| Last verified | 2026-11-24 against `develop` (`060621220`) |

## What it is for

"Customer cases with their SLA, priority and assignee." It is the team's work list: which cases are open, who holds
them, which are about to breach and which already breached.

## How to get there

* Module switcher → **Customer care**. The module opens on **Cases**.
* Side menu → **Customer care** › **Cases**.

## What you see

> [!NOTE]
>
> The screenshots of this screen are added with the manual's first capture (desktop, light theme).

| # | Element | What it does |
| - | - | - |
| 1 | **Status** filter | **Open** (default: New, Assigned, Investigating and Waiting for customer), **All** or one status |
| 2 | **Priority** filter | **All**, **High**, **Medium** or **Low** |
| 3 | **SLA** filter | **All**, **Breached**, **At risk** or **On track** |
| 4 | **Business unit** filter | **All** or one business unit |
| 5 | **Assignee** filter | **All**, **Assigned to me**, **Unassigned** or one person |
| 6 | **Code** field | Finds a case by its number; takes `CS-001234`, `cs-1234` or `1234` |
| 7 | **Refresh** (icon) | Reads the list again |
| 8 | **New case** | Opens the [Open case](https://docs.bbrands.io/enterprise/customer-care/open-case.md) form; only with `customer-compensation-case:create` |
| 9 | **Case** column | The `CS-` number; clicking it opens the [case detail](https://docs.bbrands.io/enterprise/customer-care/case-detail.md) |
| 10 | **Status** and **Priority** | The case status and its priority |
| 11 | **Problem** | The catalogue problem, in the screen's language |
| 12 | **Customer** | The account's name, or "{name} (no account)" on a case opened with contact data only |
| 13 | **Business unit** | The unit that pays for the case |
| 14 | **Assignee** | The assigned person, **Unassigned**, or **Someone else** when they are no longer in the assignee list |
| 15 | **SLA** | Two indicators, **Response** and **Resolution**, each **On track**, **At risk**, **Breached**, **Met** or **No clock** |
| 16 | **Created** | Opening date and time |

The list is paged (10, 25, 50 or 100 rows; 25 by default) and shows the newest cases first.

## Step by step

**1. See your own cases**

In **Assignee**, choose **Assigned to me**. **Status** stays on **Open**.

**2. Handle what is due first**

In **SLA**, choose **At risk**: these cases are two hours or less from their resolution due date. Then choose
**Breached**.

**3. Pick up unowned cases**

In **Assignee**, choose **Unassigned**, open a case and use **Assign** › **Assign to me**.

**4. Find a case the customer reads out**

Type the number in **Code**: `CS-001234`, `cs-1234` and `1234` find the same case.

**5. Open a new case**

Use **New case** and follow [Opening a case](https://docs.bbrands.io/enterprise/customer-care/open-case.md).

## Business rules

| ID | Rule |
| - | - |
| R-01 | **Open** groups the statuses still being worked: New, Assigned, Investigating and Waiting for customer |
| R-02 | A case is **At risk** when 120 minutes or less are left before its due date and it is still open; **Breached** once the system marked the due date as missed |
| R-03 | Each case has two clocks: first response and resolution. **Met** means the response or the resolution arrived; an ended case with nothing due shows **No clock** |
| R-04 | Due dates are computed when the case opens, from its priority: high 1 h to respond and 4 h to resolve, 24/7; medium 4 h and 24 h, and low 24 h and 72 h, in business hours (Monday to Friday 09:00 to 18:00, Chile time, holidays skipped). These are the initial values of the [catalogue](https://docs.bbrands.io/enterprise/customer-care/catalogue.md) |
| R-05 | The case number is one sequence for every business unit: `CS-` and six zero-padded digits; it grows past 999,999 without being cut |
| R-06 | A mistyped code filters nothing: the list keeps applying the other filters |
| R-07 | Approvers are global: the business unit filter narrows the list but restricts nobody |

## States and messages

| Case status | What it means |
| - | - |
| **New** | Just opened, not assigned or started |
| **Assigned** | It has a responsible person |
| **Investigating** | Someone is working on it (started with **Start investigation** or by the first evidence) |
| **Waiting for customer** | Something was asked of the customer |
| **Resolved** | It has a resolution; it closes by itself after 7 days unless reopened |
| **Closed** | Ended and final |
| **Dismissed** | Ended with a reason, without compensation |
| **Merged** | Duplicate of another case, which holds its content |

| Situation | What you see | What to do |
| - | - | - |
| No results | "No cases match these filters" | Change or clear filters |
| Module off or no role | "Customer care is not available" | Ask for the role or check the flag |

## Errors

| Message | Cause | Backend code | Support action |
| - | - | - | - |
| "The information could not be loaded." with **Retry** | Reading the cases failed | `GET /api/v3/compensation/case` 5xx | Retry; check the horizon-api logs |
| Blocked-access notice | Missing `customer-compensation-case:find-all` | — | Ask for a module role |
| **New case** is missing | Missing `customer-compensation-case:create` | — | Ask for Customer Compensation Agent or Customer care Operator |

## Why it works this way

The inbox shows both SLA clocks because they measure different things: the first response asks someone to act soon
even when the case takes longer to resolve. "At risk" warns two hours before the due date so the team has time to
react. Due dates are stored when the case opens, so changing the business hours or adding a holiday does not move
existing cases.

## Technical detail

| Aspect | Detail |
| - | - |
| Screen | `frontend/horizon-enterprise/app/components/screens/customer-care/cases-screen.tsx`, `lib/features/customer-compensation/presentation/components/CaseInbox.tsx` and `CaseTable.tsx` |
| API | `GET /api/v3/compensation/case?status=…&priority=…&sla=…&business_unit=…&assigned_to=…&code=…`, `GET /api/v3/compensation/case/assignee` |
| Data | `customer_compensation_case` (`case_number`, `status`, `priority`, `response_due_at`, `due_at`, `first_response_at`, `response_breached_at`, `sla_breached_at`) |
| SLA marks | Set by `cron/compensation/sla-sweep`; the staff notice is `account.compensation-case.sla-breached` |
| Texts | `messages/{es,en}.json` › `modules.customerCare.cases`, `.filters`, `.columns`, `.caseStatus`, `.priority`, `.sla` |

## FAQ and support cases

> [accordion] A medium-priority case opened on Friday at 17:00 is due on Monday
>
> That is right: the medium-priority clock counts business hours only. One hour on Friday and the rest from Monday
> at 09:00.

> [accordion] I search a case by the customer's name and cannot find it
>
> The inbox searches by code. To see a customer's cases, open their record in **Account › Customers** and the
> [Compensations](https://docs.bbrands.io/enterprise/customer-care/customer-360.md) tab.

> [accordion] The assignee shows as "Someone else"
>
> The person no longer holds a role that lets them receive cases, so they are not in the assignee list. Reassign the
> case.

## Related and history

* [Opening a case](https://docs.bbrands.io/enterprise/customer-care/open-case.md)
* [Case detail](https://docs.bbrands.io/enterprise/customer-care/case-detail.md)
* [Catalogue: priorities, business hours and holidays](https://docs.bbrands.io/enterprise/customer-care/catalogue.md)

| Date | Change |
| - | - |
| 2026-11-24 | First version |


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