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

# Viewing Call Records and Billing in the Portal

> Access your call detail records, review per-call costs, check billing totals, and download usage data directly from the LaraCopilot portal.

The LaraCopilot portal gives every tenant direct access to their call detail records (CDRs) and a billing summary — no tickets or admin requests required. The CDR page at `/portal/cdr` shows the complete history of calls placed and received on your account, while the billing page at `/portal/billing` aggregates that data into spend totals, billable minutes, and your assigned rate deck so you can understand exactly what drives your costs.

## Call detail records

Navigate to `/portal/cdr` to see every call associated with your account. Each row in the table represents one call leg and includes the following fields:

| Field           | Description                                    |
| --------------- | ---------------------------------------------- |
| **Caller**      | The originating phone number (`caller_number`) |
| **Destination** | The dialed number (`destination_number`)       |
| **Direction**   | Whether the call was inbound or outbound       |
| **Duration**    | Billed duration in seconds (`bill_seconds`)    |
| **Cost**        | Per-call charge in USD (`cost`)                |
| **Status**      | Call disposition — `Answered` or otherwise     |

Records are ordered by call start time (`started_at`) with the most recent calls at the top.

### Searching call records

A search bar at the top of the CDR page lets you filter the table in real time.

<Tip>
  The search matches against both the **caller number** and the **destination number**, so you can look up all activity for a specific number regardless of which direction the call traveled.
</Tip>

Enter a full or partial number in the search field and press **Search**. The page reloads with only the matching records. Clear the field and search again to return to the full list.

## Billing summary

Navigate to `/portal/billing` to see your account's aggregated usage and costs. Three summary cards appear at the top of the page:

| Card                 | What it shows                                                                     |
| -------------------- | --------------------------------------------------------------------------------- |
| **Total Spend**      | Sum of `cost` across all CDRs for your tenant, in USD                             |
| **Billable Minutes** | Sum of `bill_seconds` across all CDRs divided by 60, rounded to one decimal place |
| **Calls**            | Total count of call records for your tenant                                       |

### Rate deck

Below the summary cards the billing page displays the rate deck assigned to your tenant. Each row covers one destination prefix:

| Column          | Description                                             |
| --------------- | ------------------------------------------------------- |
| **Prefix**      | Dialing prefix the rate applies to                      |
| **Destination** | Human-readable destination name                         |
| **Rate**        | Per-minute charge in USD (shown to four decimal places) |
| **Increment**   | Billing increment in seconds                            |
| **Status**      | Whether the rate is `Active` or inactive                |

<Note>
  Rate assignments are managed by your administrator. Contact your admin if you believe a destination is missing from your rate deck or if a rate looks incorrect.
</Note>

### Recent billed calls

The right-hand column of the billing page lists the 12 most recently billed calls as a quick reference, showing the caller-to-destination pair, billed seconds, and cost per call.

## Navigating between CDRs and billing

<Steps>
  <Step title="Open the portal">
    Go to `/portal` and sign in. You will land on the dashboard.
  </Step>

  <Step title="Go to Call Records">
    Click **Call Records** in the portal navigation or go directly to `/portal/cdr`.
  </Step>

  <Step title="Search if needed">
    Type a caller or destination number in the search box and click **Search** to filter the list.
  </Step>

  <Step title="Go to Billing">
    Click **Billing** in the portal navigation or go directly to `/portal/billing` to see spend totals and your rate deck.
  </Step>
</Steps>
