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 companies
会社の作成・管理を行うコマンドです。lim では複数の会社を管理でき、アクティブな会社を切り替えて操作します。
会社の一覧
companies[2]:
- id: 01926f3a-1234-7abc-8def-000000000001
name: 株式会社サンプル
slug: sample-kk
countryCode: JP
currency: JPY
fiscalYearStart: 4
timezone: Asia/Tokyo
role: owner
active: true
- id: 01926f3a-1234-7abc-8def-000000000002
name: Acme, Inc.
slug: acme-inc
countryCode: US
currency: USD
fiscalYearStart: 1
timezone: America/New_York
role: admin
一覧は raw DB row ではなく、運用上必要な項目だけを表示します。
アクティブ会社の切り替え
ID、slug、完全一致の会社名のいずれでも切り替えられます。
lim companies use sample-kk
Active company set to 株式会社サンプル
lim companies use sample-kk
lim companies use 01926f3a-1234-7abc-8def-000000000001
lim companies use "株式会社サンプル"
アクティブ会社は ~/.config/lim/config.json に保存されます。1 回だけ別会社を使いたい場合は --company <id> を使ってください。
会社の作成
会社を作成し、勘定科目・税区分・会計期間を初期化します。作成した会社は自動でアクティブになります。
lim companies create \
--name "Acme, Inc." \
--slug acme-inc \
--country-code US \
--currency USD \
--fiscal-year-start 1 \
--legal-entity-type corporation \
--incorporation-date 2026-03-22 \
--tax-id-type us_ein \
--tax-id 12-3456789
message: Company created: Acme, Inc.
activeCompanyId: 01926f3a-1234-7abc-8def-000000000001
company:
id: 01926f3a-1234-7abc-8def-000000000001
name: Acme, Inc.
slug: acme-inc
active: true
role: owner
legalEntityType: corporation
incorporationDate: 2026-03-22
countryCode: US
currency: USD
fiscalYearStart: 1
timezone: America/New_York
主なオプション
| オプション | 説明 | デフォルト |
|---|
--name | 会社の正式名称 | 必須 |
--slug | グローバル一意な会社 slug | --name から自動生成 |
--country-code | ISO 3166-1 alpha-2 の国コード | JP |
--currency | ベース通貨 | JP は JPY、US は USD |
--fiscal-year-start | 期首月(1-12) | JP は 4、US は 1 |
--timezone | IANA タイムゾーン | Asia/Tokyo など |
--legal-entity-type | 法人格種別(kk, gk, llc, corporation) | - |
--incorporation-date | 設立日(YYYY-MM-DD) | - |
--registration-number | 登記番号や登録番号 | - |
--corporate-number | 日本の法人番号 | - |
--tax-id-type | 税務 ID 種別(us_ein, vat, gst など) | 条件により推論 |
--tax-id | 税務 ID / EIN / TIN | - |
--tax-registration-number | VAT / GST / 適格請求書番号など | - |
--name-kana | 会社名カナ | - |
--industry-code | 業種コード | - |
会社情報の詳細表示
company:
id: 01926f3a-1234-7abc-8def-000000000001
name: 株式会社サンプル
slug: sample-kk
active: true
role: owner
legalEntityType: kk
incorporationDate: 2026-03-22
countryCode: JP
currency: JPY
fiscalYearStart: 4
timezone: Asia/Tokyo
registration:
registrationNumber: 1234567
corporateNumber: 1234567890123
tax:
taxIdType: jp_corporate_number
taxId: 1234567890123
taxRegistrationNumber: T1234567890123
会社情報の更新
アクティブ会社の profile を更新します。
lim companies update \
--slug sample-kk \
--timezone Asia/Tokyo \
--tax-registration-number T1234567890123
指定した項目だけ更新されます。更新前に lim companies show で現在値を確認するのが確実です。
国別デフォルト
現在 lim は、日本法人と米国法人を想定した初期値を持ちます。
# 日本向けデフォルト
lim companies create --name "株式会社サンプル"
# 米国向けデフォルト
lim companies create --name "Acme, Inc." --country-code US