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

# Overview

> Understand what Transactions hold, how records get into them, and how models use them as actuals.

Transactions (formerly Databases) are tables of source records in Oculon. Each row is one record, such as an invoice, a ledger entry, or a customer subscription. For example, a `Customers` table might list each customer with their `Plan`, `Region`, and `MRR`.

Transactions store records in their original detail. They don't hold plan values. Models link to Transactions and read from them in actual formulas.

![Customers Transactions with one row per customer and columns for Plan, MRR, and Region. Saved views Default View, Planning, and Revenue Billing appear above the grid. The Connections panel on the right shows Integration set to Hubspot, Query name Customers, a run frequency, the selected variables, the Date Column, and Segment by Plan and Region. The breadcrumb still reads Library / Databases / Customers.](https://mintcdn.com/oculon/1JWHwlExES5W7YSl/images/start-here/transactions.png?fit=max\&auto=format\&n=1JWHwlExES5W7YSl\&q=85\&s=4f04bc8c8507256998e9de49c3f4f181)

A Transactions table

## How records get in

You bring records into Transactions in one of three ways:

* **Integration.** You choose an integration and a query. Oculon loads the query results and refreshes them on a schedule.
* **File upload.** You upload a CSV or Excel file.
* **Manual entry.** You add rows and enter values yourself.

See [Transaction sources](https://oculon.mintlify.site/concepts/data-and-structure/transactions/transaction-types.md) to choose between them.

## How Transactions are structured

The settings for a Transactions table decide how its columns behave:

* The **Date Column** places each record in a time period.
* **Variables** are the value fields, such as `MRR` or `Amount`. Each has a type: Number, Currency, Date, Percentage, or Boolean.
* **Segment by** fields map to [dimensions](https://oculon.mintlify.site/concepts/data-and-structure/dimensions/overview.md), such as `Region` or `Plan`.

See [Transaction structure](https://oculon.mintlify.site/concepts/data-and-structure/transactions/transaction-structure.md) for details.

## How models use Transactions

You link Transactions to a [model](https://oculon.mintlify.site/concepts/modeling/models/overview.md) from the model's **Transactions** panel. The model's formulas can then reference the Transactions variables.

You usually reference them in a variable's **actual formula**. For example, `Revenue` can read `MRR` from `Customers` for each month up to the [Last actual date](https://oculon.mintlify.site/concepts/data-and-structure/time/last-actual-date.md). After that date, the **planned formula** takes over.

Because Segment by fields map to shared dimensions, the model can break the values down by the same categories. See [Linked data](https://oculon.mintlify.site/concepts/data-and-structure/transactions/linked-data.md).

## Where Transactions live

Transactions live in a space, like models and boards. The Library **Transactions** tab lists every Transactions table you can access. If you create Transactions from the Library, Oculon saves them to your Private Space.

Each Transactions table can have its own saved views. See [Filters, sorts, and grouping](https://oculon.mintlify.site/concepts/data-and-structure/transactions/filters-sorts-and-grouping.md).

For header **⋮** actions, comments, and Share → Publish / Export, see [Transactions header actions](https://oculon.mintlify.site/concepts/data-and-structure/transactions/working-with-data.md#transactions-header-actions).

## Transactions versus models

| Use Transactions for | Use a model for |
| :- | :- |
| Row-level records from a source system | Calculations, drivers, and assumptions |
| Actuals at their original detail | Planned values after the Last actual date |
| Reviewing and cleaning source data | Scenarios and what-if analysis |

Transactions hold your source records, such as ledger entries, invoices, or CRM deals. Records come from an integration, an uploaded file, or manual entry. Models link to Transactions and use them as actuals.

You find Transactions in the Library **Transactions** tab or in the space where they live.

## In this section

> [card] [Transaction sources](https://oculon.mintlify.site/concepts/data-and-structure/transactions/transaction-types.md)
>
> Bring records in from an integration, a file, or manual entry.

> [card] [Transaction structure](https://oculon.mintlify.site/concepts/data-and-structure/transactions/transaction-structure.md)
>
> How the Date Column, variables, and Segment by fields shape your records.

> [card] [Working with data](https://oculon.mintlify.site/concepts/data-and-structure/transactions/working-with-data.md)
>
> Set up Transactions, add rows, and edit values.

> [card] [Transaction formulas](https://oculon.mintlify.site/concepts/data-and-structure/transactions/transaction-formulas.md)
>
> Use formulas in individual Transactions cells.

> [card] [Filters, sorts, and grouping](https://oculon.mintlify.site/concepts/data-and-structure/transactions/filters-sorts-and-grouping.md)
>
> Review a slice of records and save it as a view.

> [card] [Linked data](https://oculon.mintlify.site/concepts/data-and-structure/transactions/linked-data.md)
>
> Link Transactions to models so they feed actual formulas.

> [card] [Transaction best practices](https://oculon.mintlify.site/concepts/data-and-structure/transactions/transaction-best-practices.md)
>
> Keep source data reliable and safe to reuse.

## Related pages

* [How data flows through Oculon](https://oculon.mintlify.site/concepts/core-concepts/how-data-flows-through-oculon.md)
* [What is a model](https://oculon.mintlify.site/concepts/modeling/models/overview.md)
* [Dimensions](https://oculon.mintlify.site/concepts/data-and-structure/dimensions/overview.md)
* [Models](https://oculon.mintlify.site/concepts/modeling/models/overview.md)
* [Last actual date](https://oculon.mintlify.site/concepts/data-and-structure/time/last-actual-date.md)


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