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

# Approvals

> The inbox of requests your tier can approve: the tiers (automatic by the system, supervisor, manager and administrator), the four-eyes rule, the decision dialog, escalation and expiry.

## At a glance

| Field | Value |
| - | - |
| Status | **Available** |
| Route | `/{locale}/customer-care/approvals` |
| Menu | Customer care › Customer care › **Approvals** |
| Role | Customer Compensation Supervisor (tier 1), Customer Compensation Manager (tier 2), Administrator (tier 3) |
| Permission | `customer-compensation:find-all` to see the inbox; `customer-compensation:approve` or `:reject` and a tier `customer-compensation:approve-tier1`, `-tier2` or `-tier3` to decide |
| Feature flag | `customer-compensation` |
| Last verified | 2026-11-24 against `develop` (`060621220`) |

## What it is for

"Pending requests your tier can approve that you did not request." It is where a supervisor, a manager or an
administrator decides the compensations that were not approved automatically.

## How to get there

* Side menu → **Customer care** › **Approvals**.
* The "Compensation approval requested" or "Compensation escalated" notice in the bell or by e-mail opens the case; you decide from there or
  from this inbox.

## 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 | **Your approval tier** | **Tier 1**, **Tier 2** or **Tier 3**: the highest you hold |
| 2 | **Business unit** filter | **All** or one unit; it narrows the list, it does not restrict |
| 3 | List | **Benefit** (with the case number), **Status**, **Units**, **Value**, **Tier**, **Contact**, **Created** and **Review** |
| 4 | **Decide on the compensation** dialog | "Review the value, the evidence, the offer and the rules before deciding." |
| 5 | Request data | **Case**, **Customer**, **Benefit**, **Value** with its basis, **Tier**, **Verdict**, **Requested** and **Request hash** |
| 6 | **Offered options** | What the agent offered and what the customer chose, or "No customer contact" |
| 7 | **Justification** | The agent's, when written |
| 8 | **Automatic rules** | Each rule with **Passed** or **Failed** and its values "(observed {observed}, threshold {threshold})" |
| 9 | **Note** | "Required to reject." |
| 10 | **Approve**, **Reject**, **Close** | The decision |

## Step by step

**1. Open the inbox**

Your tier shows at the top. The list only holds what your tier reaches and you did not request.

**2. Review a request**

Press **Review**. Read the value and its basis, the subject's verdict, what was offered and what the customer
chose, the justification and the rules that failed.

**3. Open the case for more context**

The case number in the list opens its detail with the evidence, attachments and timeline.

**4. Approve**

Press **Approve**. You see "Compensation approved" · "It is applied and the customer is notified when asked."

**5. Or reject with a note**

Write the **Note** and press **Reject**. You see "Compensation rejected" · "The requester is notified."

## Business rules

| ID | Rule |
| - | - |
| R-01 | Tiers: **automatic** (the system, when every automatic rule passes), **tier 1** (Customer Compensation Supervisor), **tier 2** (Customer Compensation Manager) and **tier 3** (Administrator) |
| R-02 | The required tier comes from the value: tier 1 up to CLP 10,000, tier 2 up to CLP 50,000 and tier 3 above. Refund and credit note always tier 3. Insufficient evidence raises one tier; contradicted evidence or a fraud flag need tier 2 or above |
| R-03 | Your tier is the highest you hold (roles add up) and must be equal to or above the required one |
| R-04 | Four eyes: nobody approves or rejects what they requested. The inbox hides your own requests and the API refuses them |
| R-05 | Approvers are global: they see every business unit; the filter only narrows |
| R-06 | Approving re-checks the customer's caps and the hash. When the evidence changed after the request, approval is refused until the requester refreshes it |
| R-07 | Escalation: a request undecided for 24 business hours (24/7 for high priority) notifies the next tier once ("Compensation escalated") |
| R-08 | Expiry: after 7 calendar days without a decision it becomes **Expired** and the requester and its tier are notified |
| R-09 | Human approvals do not use the daily automatic budget |
| R-10 | The module roles (Customer care Admin, Operator, Viewer) never approve: only the fixed Supervisor, Manager and Administrator roles do |

## States and messages

| Situation | What you see | What to do |
| - | - | - |
| No tier | "You hold no compensation approval tier." | Ask for the Supervisor or Manager role |
| Nothing to approve | "No requests to approve" | Nothing |
| Not allowed to decide | "You may not decide." in the dialog | Ask for the role |
| Approved | "Compensation approved" | Nothing |
| Rejected | "Compensation rejected" | Nothing |

## Errors

| Message | Cause | Backend code | Support action |
| - | - | - | - |
| "You cannot approve or reject what you requested." | Four eyes | `403 compensation:self_approval` | Someone else decides |
| "Your approval tier is not enough for this request." | Tier too low | `403 compensation:tier_insufficient` | Someone with a higher tier decides |
| "The request changed since it was computed; the requester must refresh it." | New evidence or a fraud flag after the request | `409 compensation:stale_request` | Tell the agent |
| "A customer compensation cap is exceeded." | Another compensation filled the cap while it waited | `422 compensation:cap_exceeded` | Reject or ask for a smaller request |
| "This action does not apply in the current status ({detail})." | Someone else decided it, it was cancelled or it expired | `409 compensation:invalid_transition` | Reload the inbox |

## Why it works this way

Separating who requests from who approves stops a single person from handing out benefits unchecked. Value-based
tiers put the judgement of someone more senior where the amount justifies it, without slowing small requests, which
the system approves alone with versioned rules and a daily budget.

## Technical detail

| Aspect | Detail |
| - | - |
| Screen | `frontend/horizon-enterprise/app/components/screens/customer-care/approvals-screen.tsx`, `lib/features/customer-compensation/presentation/components/ApprovalsInbox.tsx` and `DecisionModal.tsx` |
| API | `GET /api/v3/compensation?approvable=true&business_unit=…` (the API returns the pending ones your tier reaches that you did not request), `GET /api/v3/compensation/{id}`, `POST /api/v3/compensation/{id}/decision` (with the hash) |
| SQL function | `customer_compensation_transition` (hash, tier, approver other than the requester, caps) |
| Sweeps | `cron/compensation/sla-sweep` escalates and expires |
| Notices | `account.compensation.approval-requested`, `account.compensation.escalated`, `account.compensation.expired` |
| Texts | `messages/{es,en}.json` › `modules.customerCare.approvals`, `.decision`, `.tier`, `.rules` |

## FAQ and support cases

> [accordion] I am a manager and do not see a tier 3 request
>
> The inbox only shows what your tier reaches. A tier 3 request (for example a refund) is decided by an
> administrator.

> [accordion] I requested a compensation and it is not in my inbox
>
> That is the four-eyes rule: someone else with enough tier decides it.

> [accordion] Approving says the request changed
>
> New evidence reached the case (for example a technical inspection) or a fraud flag was set. The requester must
> open and refresh it; then it returns to the inbox.

## Related and history

* [Requesting a compensation](https://docs.bbrands.io/enterprise/customer-care/request-compensation.md)
* [Bulk incidents](https://docs.bbrands.io/enterprise/customer-care/incidents.md) (approved from their own screen)
* [Roles and permissions](https://docs.bbrands.io/enterprise/customer-care/roles-and-permissions.md)

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


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