freee_get_general_ledger
Retrieve detailed journal entries per account item for analysis and consistency checks. Filter by account or use compact mode for summary totals.
Instructions
Get general ledger (総勘定元帳) - Retrieves detailed journal entries per account item. Use account_item_id to filter by specific account (recommended to reduce response size). Ideal for "what is recorded under account X" analysis, account item context investigation, and journal consistency checks. Use compact mode for quick overviews with totals only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | No | Company ID (optional, uses FREEE_DEFAULT_COMPANY_ID if not provided) | |
| fiscalYear | Yes | Fiscal year | |
| startMonth | Yes | Start month (1-12) | |
| endMonth | Yes | End month (1-12) | |
| accountItemId | No | Account item ID to filter by specific account (勘定科目ID). Recommended to reduce response size. | |
| compact | No | When true, returns summary statistics (count and totals per account) without individual entries. Useful for quick overviews. |