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

# lim import and export

> Import historical data from accounting systems and export filing-ready outputs.

# lim import and export

Use `import` to migrate data in and `export` to produce regulated outputs.

## import

```bash theme={null}
lim import data.csv
lim import data.csv --format freee
lim import data.csv --dry-run
lim import opening-balance.csv --opening-balance
lim import --health-check
lim import --undo <batch-id>
```

### Supported migration sources

* freee
* MoneyForward
* Yayoi
* Bugyo
* QuickBooks Online
* Xero

## export

```bash theme={null}
lim export etax --year 2025
lim export account-details --year 2025
```

## Recommended migration flow

```bash theme={null}
lim import history.csv --dry-run
lim import --health-check
lim import history.csv
lim reports tb --from 2025-01-01 --to 2025-12-31
```

<Warning>
  Always run `--dry-run` before a first import for a new source system. It catches account-mapping and
  date-range problems before journals are written.
</Warning>
