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

# Getting Started

> Create a company, configure your chart of accounts, and add your first journal entries.

# Getting Started with lim

Set up your company and start recording transactions in minutes.

## Prerequisites

* lim CLI installed (`npm install -g @lim-labs/lim`)
* Authenticated (`lim auth login`)

## Create Your Company

<Steps>
  <Step title="Create a company">
    ```bash theme={null}
    lim companies create --name "Acme Corp" --slug acme-corp --country-code US
    ```

    ```yaml theme={null}
    message: Company created: Acme Corp
    activeCompanyId: 01926f3a-1234-7abc-8def-000000000001
    ```
  </Step>

  <Step title="Verify your company">
    ```bash theme={null}
    lim companies list
    ```

    ```yaml theme={null}
    companies[1]:
      - name: Acme Corp
        slug: acme-corp
        active: true
    ```
  </Step>

  <Step title="Switch between companies (if needed)">
    ```bash theme={null}
    lim companies use acme-corp
    ```
  </Step>
</Steps>

## Configure Chart of Accounts

lim ships with a default Japanese chart of accounts. Review it immediately:

```bash theme={null}
lim accounts list --tree
```

```
Assets (1xxx)
├── 1100  Cash
├── 1200  Checking Account
├── 1300  Accounts Receivable
├── 1500  Prepaid Expenses
├── 1800  Buildings
├── 1900  Equipment
Liabilities (2xxx)
├── 2100  Accounts Payable
├── 2300  Accrued Expenses
├── 2500  Withholding Tax Payable
Equity (3xxx)
├── 3100  Capital Stock
├── 3500  Retained Earnings
Revenue (4xxx)
├── 4100  Sales Revenue
Expenses (5xxx–8xxx)
├── 5100  Cost of Goods Sold
├── 6100  Salaries
├── 7100  Communication
├── 7200  Rent
├── 7300  Travel & Transportation
```

<Tip>
  The default chart follows the Japanese standard (勘定科目). You can add, rename, or deactivate
  accounts at any time.
</Tip>

## Add Custom Accounts

```bash theme={null}
lim accounts create --code 7150 --name "SaaS Subscriptions" \
  --type expense --sub-type selling-general-admin
```

## Add Your First Entries

Use natural language — lim handles account mapping and tax decomposition:

```bash theme={null}
lim add "office rent 220000 yen bank transfer"
lim add "AWS 11000 yen credit card"
lim add "client payment received 550000 yen"
```

<Warning>
  The first entry for a new pattern may require confirmation. After 3 confirmations, lim auto-posts
  matching transactions.
</Warning>

## Verify with a Trial Balance

```bash theme={null}
lim reports tb
```

```
Trial Balance (2026-04-01 ~ 2027-03-31)
────────────────────────────────────────────────
Account              Debit       Credit
────────────────────────────────────────────────
Checking Account    550,000
Communication        10,000
Input VAT            21,000
Rent                200,000
Accounts Payable                  11,000
Sales Revenue                    550,000
Accounts Payable                 220,000
────────────────────────────────────────────────
Total               781,000      781,000  ✓
```

## Next Steps

<CardGroup cols={2}>
  <Card title="Natural Language Input" icon="message" href="/guides/natural-language">
    How the judgment engine processes your entries.
  </Card>

  <Card title="Chart of Accounts" icon="list-tree" href="/guides/chart-of-accounts">
    Manage accounts, codes, and types.
  </Card>

  <Card title="Financial Reports" icon="chart-line" href="/guides/financial-reports">
    P\&L, Balance Sheet, Cash Flow, and more.
  </Card>

  <Card title="Tax Filing" icon="file-invoice" href="/guides/tax-filing">
    Japanese consumption tax and e-Tax export.
  </Card>
</CardGroup>
