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

# Expensify

## Synced Objects

Expensify supports the following Synced Objects:

* Expenses: Syncs individual expenses from Expensify expense reports as custom records. See [Expenses](#expenses).
* Expense Reports: Syncs expense reports from Expensify as custom records. See [Expense Reports](#expense-reports).
* Transactions: Syncs company card transactions from Expensify as custom records. See [Transactions](#transactions).
* Policies: Syncs workspace policies from Expensify as custom records. See [Policies](#policies).

Expensify has no standard Synced Object Type for these objects, so each record is a custom record.

## Expenses

Send a request to [Enable Sync](https://docs.useparagon.com/managed-sync/api/enable-a-sync.md) to start a sync of expenses from Expensify.

```json Example theme={null}
{
    "integration": "expensify",
    "pipeline": "expenses",
    "configuration": {
        "reportState": "APPROVED,REIMBURSED",
        "lookbackDays": 30
    }
}
```

Each record is one expense from an expense report. When an expense has a receipt, downloading the record's content returns the receipt file. Expenses without a receipt return the record as a JSON file.

**reportState** `string`

Comma-separated report statuses to include: `OPEN`, `SUBMITTED`, `APPROVED`, `REIMBURSED`, or `ARCHIVED`. When omitted, expenses from reports in every status are synced.

**policyID** `string`

Expensify policy ID. When set, only expenses on reports in that policy are synced. When omitted, every policy the user can access is included.

**lookbackDays** `integer`

Number of days of expense reports to sync on the first sync, from 1 to 365. Defaults to `30`. Incremental syncs rescan the same lookback window to pick up expenses that changed.

## Expense Reports

Send a request to [Enable Sync](https://docs.useparagon.com/managed-sync/api/enable-a-sync.md) to start a sync of expense reports from Expensify.

```json Example theme={null}
{
    "integration": "expensify",
    "pipeline": "expense-reports",
    "configuration": {
        "reportState": "SUBMITTED,APPROVED",
        "lookbackDays": 30
    }
}
```

**reportState** `string`

Comma-separated report statuses to include: `OPEN`, `SUBMITTED`, `APPROVED`, `REIMBURSED`, or `ARCHIVED`. When omitted, reports in every status are synced.

**policyID** `string`

Expensify policy ID. When set, only reports in that policy are synced. When omitted, every policy the user can access is included.

**lookbackDays** `integer`

Number of days of expense reports to sync on the first sync, from 1 to 365. Defaults to `30`. Incremental syncs rescan the same lookback window to pick up reports that changed.

## Transactions

Send a request to [Enable Sync](https://docs.useparagon.com/managed-sync/api/enable-a-sync.md) to start a sync of company card transactions from Expensify.

```json Example theme={null}
{
    "integration": "expensify",
    "pipeline": "transactions",
    "configuration": {
        "domain": "example.com",
        "feed": "export_all_feeds",
        "transactionType": "All",
        "lookbackDays": 30
    }
}
```

**domain** `string` *required*

Expensify domain the connected user administers, such as `example.com`. Card transactions are scoped to a domain, so the connected user must be a domain admin.

**feed** `string`

Card feed name. Defaults to `export_all_feeds`, which syncs every feed on the domain.

**transactionType** `string`

`All` syncs every card expense. `Unreported` syncs only card expenses that are not on a report. Defaults to `All`.

**lookbackDays** `integer`

Number of days of card transactions to sync on the first sync, from 1 to 365. Defaults to `30`. Incremental syncs rescan the same lookback window to pick up transactions that changed.

## Policies

Send a request to [Enable Sync](https://docs.useparagon.com/managed-sync/api/enable-a-sync.md) to start a sync of workspace policies from Expensify.

```json Example theme={null}
{
    "integration": "expensify",
    "pipeline": "policies",
    "configuration": {
        "adminOnly": false,
        "includeAccountingFields": true
    }
}
```

**adminOnly** `boolean`

When `true`, only policies the connected user administers are synced. Defaults to `false`.

**includeAccountingFields** `boolean`

When `true`, each policy record includes its categories, tags, tax, report fields, and employees. Defaults to `true`.
