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

# Transaction sources

> Choose how records get into Transactions, whether from an integration, an uploaded file, or manual entry.

Every Transactions table gets its records from a source. You can connect an integration, upload a file, or enter rows yourself. Choose the source based on which system owns the records.

## Integration

An integration connects Oculon to an external system. Examples include Xero, QuickBooks, HubSpot, and Google Sheets. The connectors available to you depend on your workspace.

![Xero integration open from Library / Integrations, with a Queries list including Accounts, Bank Transactions, Contacts, Invoices, Journals, and Payments. The grid previews the selected query's records with Code, Name, AccountID, Type, and Status columns, a Configure panel lists the query fields, and a Create Transactions button sits above the grid.](https://mintcdn.com/oculon/vnBQxShftdx0BeDo/images/start-here/integration.png?fit=max\&auto=format\&n=vnBQxShftdx0BeDo\&q=85\&s=05a126cdde344f4a498ea02f85e2ffb5)

A Xero integration with its queries

Records reach Transactions in three steps:

1. **Connection.** You set up the integration in the Library **Integrations** tab.
2. **Query.** A query on that integration selects which records to pull, such as invoices or customers.
3. **Transactions.** In **Transactions Settings**, you choose the integration in **Integration** and the query in **Query**. You then set a **Refresh Frequency**.

Click **Preview** to check the query results before you save.

Use an integration when another system owns the records and they change often.

## File upload

You can upload a CSV or Excel file. In the **Upload Excel File** dialog, click **Choose CSV or XLSX file** or drag the file in. If the workbook has several sheets, you pick the sheet to use.

![Local-spreadsheet integration open from Integrations, with a Configure panel showing an Upload File area that reads Drag and drop or click to upload file(s), a size limit of less than 25MB and file types csv and xlsx, a Header row selector, and an empty Fields section. The main area prompts you to run the query to see results.](https://mintcdn.com/oculon/1JWHwlExES5W7YSl/images/start-here/upload-source.png?fit=max\&auto=format\&n=1JWHwlExES5W7YSl\&q=85\&s=c20b3b165b60f457f7c0f511440b088e)

Uploading a file to a Local-spreadsheet integration

Use a file upload for one-off imports, such as a historical export from a system you don't connect directly.

## Manual entry

You can create Transactions without a source and enter the records yourself. Click **Create Transactions** in the Library. You then add a date column, variables, and dimension columns, and insert rows.

![New Transactions with no integration chosen. The Transactions Settings panel shows Source with Integration set to Choose an integration, Variables Transaction ID, Transaction Date, and Amount, Date Column set to Date, and an empty Segment by section. The grid behind it has Date, Transaction Date, and Amount columns and no rows yet.](https://mintcdn.com/oculon/vnBQxShftdx0BeDo/images/start-here/manual-transactions.png?fit=max\&auto=format\&n=vnBQxShftdx0BeDo\&q=85\&s=f62538d5e5e61389db6a3ffcbeb2a737)

Setting up Transactions for manual entry

Use manual entry for small tables your team maintains in Oculon, such as a list of one-off adjustments.

See [Working with data](https://oculon.mintlify.site/concepts/data-and-structure/transactions/working-with-data.md) for how to add rows and edit values.

## How to choose

| Source | Use it when |
| :- | :- |
| Integration | Another system owns the records, and you want them to stay current. |
| File upload | You have a one-off export or a system you don't connect directly. |
| Manual entry | Your team owns the records and maintains them in Oculon. |

Many workspaces use more than one source. For example, invoices might come from Xero while a small adjustments table is maintained by hand.

## Related

* [What is a transaction](https://oculon.mintlify.site/concepts/data-and-structure/transactions/overview.md)
* [Working with data](https://oculon.mintlify.site/concepts/data-and-structure/transactions/working-with-data.md)
* [How data flows through Oculon](https://oculon.mintlify.site/concepts/core-concepts/how-data-flows-through-oculon.md)


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