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

# Reports

> Analyze your business across 70+ built-in reports covering sales, orders, customers, finances, and inventory

export const viewAccessDefinition = "Read-only access without ability to make changes.";

export const editAccessDefinition = "Update and read data, but cannot create or delete.";

export const manageAccessDefinition = "Create, update, read, and delete data.";

export const permissionsDefinition = "The actions you are authorized to perform.";

export const visibilityDefinition = "Which features, sections, or data tables are visible to you.";

export const userRoleDefinition = "What a user can see and do. Each user has one built-in system role — Owner, Admin, Manager, or Member — and can also be assigned any number of custom roles you create with specific permissions. Effective access is the combination of all their roles.";

<Frame caption="Reports">
  <img src="https://mintcdn.com/twicecommerce/Ab7tx7ih94KQsi0k/images/reports.webp?fit=max&auto=format&n=Ab7tx7ih94KQsi0k&q=85&s=c96324cbb49e6b8cf411e3fb0110f74d" alt="Reports overview showing available analytics and reports" width="1920" height="1080" data-path="images/reports.webp" />
</Frame>

<Info>
  This view can look different dependent on your user role. <br />See [Visibility & Permissions](#visibility-and-permissions) for details.
</Info>

<Note>
  **Advanced reporting** is available on the **Standard** and **Enterprise** plans. See [plans](/docs/twice-commerce-overview#pricing).
</Note>

<Card title="Open in TWICE Admin" icon="external-link" href="https://admin.twicecommerce.com/reports" horizontal>
  reports
</Card>

## Primary Purpose

Reports gives you 70+ built-in reports organized across six categories. Each report includes score cards, charts, and a data table you can filter by date range, location, and comparison period.

<AccordionGroup>
  <Accordion title="Sales (36 reports)">
    Track revenue, average order value, gross profit, and sales breakdown by product, location, channel, customer, and currency. Includes dedicated views for subscriptions, bookings, discount codes, and weekly sales patterns.
  </Accordion>

  <Accordion title="Orders (12 reports)">
    Monitor order volume over time, fulfilled orders, return rates, and returns by product. View orders grouped by status and purchase type, track average booking duration, and see upcoming returns for proactive inventory planning.
  </Accordion>

  <Accordion title="Customers (9 reports)">
    Analyze new customer registrations, returning customer rate, and customer lifetime value. Segment customers by country and location, and compare new versus returning customer sales contribution.
  </Accordion>

  <Accordion title="Finances (8 reports)">
    Accrual-basis [Revenue report](/docs/concepts/reports/finance-reports) and cash-basis [Payments report](/docs/concepts/reports/finance-reports#payments-report) with deferred revenue tracking, reconciliation bridge, and CSV export. Also includes payment volumes over time, breakdowns by gateway and method, payment fees, and per-order payment details.
  </Accordion>

  <Accordion title="Inventory (7 reports)">
    Monitor stock levels by status, inventory value per article, daily items sold, and sell-through rate. Analyze per-article utilization including order count and revenue generated.
  </Accordion>

  <Accordion title="Integrations (1 report)">
    View website analytics data from connected third-party sources.
  </Accordion>
</AccordionGroup>

## Report Features

Every report shares a common set of tools for analysis and comparison.

<AccordionGroup>
  <Accordion title="Date Range & Comparison">
    Filter any report by date range using presets (last 7, 30, or 90 days, last week, last month, last year) or a custom range. Compare against the previous period or previous year to spot trends.
  </Accordion>

  <Accordion title="Visualizations">
    Reports display data as line charts, bar charts, horizontal bar charts, or donut charts depending on the metric. Each report also includes a full data table beneath the chart.
  </Accordion>

  <Accordion title="Score Cards">
    Summary metrics appear at the top of each report showing key values (revenue, count, percentage, or duration) with percentage change indicators compared to the selected comparison period.
  </Accordion>

  <Accordion title="Search & Favorites">
    Search across all your reports by name. Bookmark frequently used reports for quick access from the sidebar.
  </Accordion>

  <Accordion title="Location Filtering">
    Filter report data by location to analyze performance across individual stores or warehouses.
  </Accordion>
</AccordionGroup>

## Anatomy of a report

Each report has four sub-views you can switch between.

### Dashboard

The default view: score cards at the top, primary chart, and quick filters. Best for at-a-glance trends and percentage changes.

<Frame caption="Reports > Sales Overview > Dashboard">
  <img src="https://mintcdn.com/twicecommerce/Ab7tx7ih94KQsi0k/images/reports.webp?fit=max&auto=format&n=Ab7tx7ih94KQsi0k&q=85&s=c96324cbb49e6b8cf411e3fb0110f74d" alt="Report dashboard view with score cards and chart" width="1920" height="1080" data-path="images/reports.webp" />
</Frame>

### Raw data

The full data table behind the chart — every row, every column. Sortable, searchable, and filterable.

<Frame caption="Reports > Sales Overview > Raw data">
  <img src="https://mintcdn.com/twicecommerce/Ab7tx7ih94KQsi0k/images/reports-raw-data.webp?fit=max&auto=format&n=Ab7tx7ih94KQsi0k&q=85&s=70d93566e5f01d8a541cf66e8ae88a6c" alt="Report raw data table view" width="1920" height="1080" data-path="images/reports-raw-data.webp" />
</Frame>

### Details

Per-row drill-down showing the records that make up the aggregated values — useful for verifying numbers and finding outliers.

<Frame caption="Reports > Sales Overview > Details">
  <img src="https://mintcdn.com/twicecommerce/Ab7tx7ih94KQsi0k/images/reports-details.webp?fit=max&auto=format&n=Ab7tx7ih94KQsi0k&q=85&s=b1dcefcc74224e3c34c25d92d0d678ce" alt="Report details view showing per-record drill-down" width="1920" height="1080" data-path="images/reports-details.webp" />
</Frame>

### Export

Export the report (current view, with active filters applied) as CSV. Exports can also be scheduled and emailed via [Workflows](/docs/workflows).

<Frame caption="Reports > Sales Overview > Export">
  <img src="https://mintcdn.com/twicecommerce/Ab7tx7ih94KQsi0k/images/reports-export.webp?fit=max&auto=format&n=Ab7tx7ih94KQsi0k&q=85&s=5b8746adc8bb592f174ae9f8130924e2" alt="Report export view with format and schedule options" width="1920" height="1080" data-path="images/reports-export.webp" />
</Frame>

## Example

Fetch report data from the API by specifying a report ID, date range, and optional comparison period.

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET "https://server.twicecommerce.com/v1/reports/sales-overview?start=2026-01-01&end=2026-03-31&compare=previous_period" \
    -H "Authorization: Bearer {token}" \
    -H "Content-Type: application/json"
  ```

  ```javascript Node.js theme={null}
  const report = await twice.reports.get({
    id: 'sales-overview',
    start: '2026-01-01',
    end: '2026-03-31',
    compare: 'previous_period',
  });
  ```
</CodeGroup>

## Related Concepts

Here are a few key concepts of TWICE Commerce that relate to Reports.

<AccordionGroup>
  <Accordion title="Report Categories">
    Reports are organized into six categories — Sales, Orders, Customers, Finances, Inventory, and Integrations — each covering a different area of your business. The sidebar navigation groups reports by category for quick access.
  </Accordion>

  <Accordion title="Period Comparison">
    Every report supports comparing the current date range against a previous period or the same period last year. Score cards show percentage change indicators so you can identify growth or decline at a glance.
  </Accordion>

  <Accordion title="Data Export">
    Report data is available through the API with all active filters (date range, location, comparison period) applied, so you can integrate report data into external dashboards or workflows.
  </Accordion>
</AccordionGroup>

## Visibility and Permissions

Access to this view is controlled by your <Tooltip tip={userRoleDefinition}>user role</Tooltip>. Your user role determines both
<Tooltip tip={visibilityDefinition}>visibility</Tooltip> and
<Tooltip tip={permissionsDefinition}>permissions</Tooltip> for
<Tooltip tip={manageAccessDefinition}>manage</Tooltip>,
<Tooltip tip={editAccessDefinition}>edit</Tooltip>, and
<Tooltip tip={viewAccessDefinition}>view</Tooltip> access levels.

<Tabs>
  <Tab title="Visibility" icon="eye">
    | Feature             | Admin | Manager | Member |
    | ------------------- | ----- | ------- | ------ |
    | Sales Reports       | ✓     | ✓       | ✗      |
    | Order Reports       | ✓     | ✓       | ✗      |
    | Customer Reports    | ✓     | ✓       | ✗      |
    | Finance Reports     | ✓     | ✗       | ✗      |
    | Inventory Reports   | ✓     | ✓       | ✓      |
    | Integration Reports | ✓     | ✓       | ✗      |
  </Tab>

  <Tab title="Permissions" icon="key">
    | Resource         | Admin  | Manager | Member |
    | ---------------- | ------ | ------- | ------ |
    | View Reports     | Manage | Manage  | View   |
    | Export Data      | Manage | Edit    | View   |
    | Manage Favorites | Manage | Manage  | Manage |
  </Tab>
</Tabs>

## Related Guides

<CardGroup cols={2}>
  <Card title="Finance Reports" icon="chart-line" href="/docs/concepts/reports/finance-reports">
    Revenue and Payments reports — accrual vs cash-basis analysis with reconciliation
  </Card>

  <Card title="Orders Overview" icon="bag-shopping" href="/docs/orders/overview">
    Manage all order types in one unified view
  </Card>

  <Card title="Inventory Overview" icon="warehouse" href="/docs/inventory/overview">
    Track and manage all stock items in your inventory
  </Card>
</CardGroup>
