freee_compare_periods
Compare two financial periods with pre-computed diffs and percentages for YoY/MoM analysis. Returns both period metrics, absolute and percentage changes, and significance highlights.
Instructions
Compare two financial periods with pre-computed diffs and percentages - Single call for YoY/MoM analysis. Returns metrics for both periods, absolute and percentage changes, and significance highlights. Eliminates LLM-side math for period comparisons.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | No | Company ID (optional, uses FREEE_DEFAULT_COMPANY_ID if not provided) | |
| reportType | Yes | Type of financial report to compare | |
| period1 | Yes | First period to compare | |
| period2 | Yes | Second period to compare | |
| breakdownDisplayType | No | Breakdown display type (partner: 取引先, item: 品目, section: 部門, account_item: 勘定科目) |