fast_calc_reports
Converts five financial TXT inputs into a 16-key annual report JSON with statements, ratios, IRR/MIRR diagnostics, funding gaps, and optional table batching to avoid truncation.
Instructions
财务测算:5类输入txt → 16键JSON(11张报表+指标+IRR/MIRR诊断+资金缺口)。_meta.years=年份轴;financial_ratios=行清单[序号,指标名,月口径,年口径];其余报表=年度矩阵{行名:{年份:数值}}。整体约50~60KB,若客户端响应上限50KB会被截断(尾部表丢失):可传 tables="表名1,表名2" 分批拉取(省流且截断自检),完整表名清单=invest_exp_fundraising/debt_repayment_schedule/cost_expense_stat/revenue_stat/tax_stat/profit_distribution_stat/cash_flow_stat/balance_sheet/project_invest_cash_flow/investor_cash_flow/financial_ratios;返回JSON末位 complete:true=完整,缺失即被截断(重拉或分批)。数字必须原样引用,禁止自行换算。irr_health/warnings 提示 IRR 未收敛失灵时,以年口径 IRR 与修正后 MIRR 为主判据。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | 5类txt:文件名→全文 | |
| tables | No | 可选:分批拉取的表名清单,逗号分隔,带不带.txt均可(如 "revenue_stat,cost_expense_stat");合法表名=invest_exp_fundraising/debt_repayment_schedule/cost_expense_stat/revenue_stat/tax_stat/profit_distribution_stat/cash_flow_stat/balance_sheet/project_invest_cash_flow/investor_cash_flow/financial_ratios;返回JSON末位 complete:true=完整,缺失即被截断(重拉或分批) |