一键导入
consolidation
Financial consolidation — multi-entity rollup, intercompany elimination, currency translation, CTA, NCI/minority interest, segment reporting.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Financial consolidation — multi-entity rollup, intercompany elimination, currency translation, CTA, NCI/minority interest, segment reporting.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
D2 diagram language — declarative diagrams for architecture, system design, network topology, database schemas, and layered infrastructure diagrams. Renders to SVG/PNG via d2 CLI. Supports sketch mode.
Excalidraw JSON format — hand-drawn whiteboard-style diagrams. Brainstorming, wireframes, informal sketches, and collaborative visual thinking. Output as .excalidraw JSON for desktop rendering.
Mermaid diagram syntax — sequence diagrams, flowcharts, ER diagrams, Gantt charts, state diagrams, class diagrams, and more. Renders to SVG/PNG via mmdc CLI. Native GitHub/markdown rendering support.
Expense and OpEx analysis — run-rate, cost per head, OpEx vs CapEx, vendor concentration, fixed vs variable decomposition, SG&A leverage.
FP&A financial planning — forecasting, scenario modeling, budgetary control.
Variance analysis — actual vs budget, YoY/MoM/QoQ deltas, bridge decomposition.
| name | consolidation |
| description | Financial consolidation — multi-entity rollup, intercompany elimination, currency translation, CTA, NCI/minority interest, segment reporting. |
| tags | ["finance","consolidation","intercompany","elimination","currency","translation","cta","nci","minority-interest","segment","multi-entity"] |
Use this skill when the user asks for:
| Category | Entity A (Debit) | Entity B (Credit) | Elimination |
|---|---|---|---|
| Revenue/COGS | IC Revenue | IC Purchases | DR IC Revenue, CR IC COGS |
| AR/AP | IC Receivable | IC Payable | DR IC AP, CR IC AR |
| Loans | Notes Receivable | Notes Payable | DR Notes Payable, CR Notes Receivable |
| Interest | Interest Income | Interest Expense | DR Interest Income, CR Interest Expense |
| Dividends | Dividend Income | Dividends Declared | DR Dividend Income, CR Dividends |
| Management Fees | Fee Income | Fee Expense | DR Fee Income, CR Fee Expense |
When goods sold between entities remain unsold at period-end:
Unrealized Profit = Unsold Inventory Value x (Markup / (100 + Markup))
Elimination: DR COGS, CR Inventory
| Line Item | Rate |
|---|---|
| All assets & liabilities | Closing rate |
| Common stock | Historical rate |
| Revenue & Expenses | Average rate |
Translation gain/loss -> OCI (equity). Does NOT hit P&L.
| Line Item | Rate |
|---|---|
| Monetary items (cash, AR, AP) | Current rate |
| Non-monetary items (inventory at cost, PP&E) | Historical rate |
| Revenue & most expenses | Average rate |
| COGS, Depreciation | Historical rate |
Remeasurement gain/loss -> Net Income (P&L).
Default to Current Rate Method unless user specifies otherwise.
CTA is the balancing residual from applying different rates to different line items:
CTA = Net Assets at Closing Rate
- (Equity at Historical Rates + NI at Average Rate - Dividends at Historical Rate)
1. Collect entity-level trial balances (each sheet = one entity)
2. Map local chart of accounts -> group COA
3. Apply currency translation
4. Aggregate (SUM all entities)
5. Identify & post intercompany eliminations
6. Post top-side adjustments (goodwill, fair value)
7. Calculate NCI allocation
8. Produce consolidated statements
9. Validate (TB nets to zero, IC accounts net to zero)
-- Map local accounts to group COA and translate
SELECT cm.group_account_code, cm.group_account_name, cm.account_type,
SUM(CASE
WHEN cm.account_type IN ('ASSET','LIABILITY') THEN (tb.debit - tb.credit) * fx_close.rate
WHEN cm.account_type = 'EQUITY' THEN (tb.debit - tb.credit) * fx_hist.rate
WHEN cm.account_type IN ('REVENUE','EXPENSE') THEN (tb.debit - tb.credit) * fx_avg.rate
END) AS translated_amount
FROM s_trial_balance tb
JOIN coa_mapping cm ON tb.entity_id = cm.entity_id AND tb.account_code = cm.local_account_code
LEFT JOIN fx_rates fx_close ON tb.currency = fx_close.from_currency AND fx_close.rate_type = 'CLOSING'
LEFT JOIN fx_rates fx_avg ON tb.currency = fx_avg.from_currency AND fx_avg.rate_type = 'AVERAGE'
LEFT JOIN fx_rates fx_hist ON tb.currency = fx_hist.from_currency AND fx_hist.rate_type = 'HISTORICAL'
GROUP BY cm.group_account_code, cm.group_account_name, cm.account_type;
SELECT a.entity_id AS entity_a, b.entity_id AS entity_b,
a.translated_amount AS amount_a, b.translated_amount AS amount_b,
ABS(a.translated_amount + b.translated_amount) AS mismatch,
CASE
WHEN ABS(a.translated_amount + b.translated_amount) < 0.01 THEN 'EXACT'
WHEN ABS(a.translated_amount + b.translated_amount) / GREATEST(ABS(a.translated_amount), 1) < 0.01 THEN 'FX_TOLERANCE'
ELSE 'MISMATCH'
END AS match_status
FROM v_ic_balances a
JOIN v_ic_balances b ON a.ic_partner_id = b.entity_id AND b.ic_partner_id = a.entity_id
WHERE a.entity_id < b.entity_id;
When parent owns < 100% of a subsidiary:
NCI Income = Subsidiary Net Income x (1 - Ownership %)
NCI Equity = Subsidiary Total Equity x (1 - Ownership %)
NCI_ending = NCI_opening + NCI_Income - NCI_Dividends + NCI_OCI
100% of subsidiary is consolidated. NCI line shows what belongs to outside shareholders.
| Ownership | Relationship | Method |
|---|---|---|
| > 50% (control) | Subsidiary | Full consolidation |
| 20-50% (influence) | Associate | Equity method |
| < 20% | Investment | Fair value / cost |
Segments identified by how the CODM reviews results. Reportable if ANY:
Coverage rule: Reportable segments must cover >= 75% of consolidated external revenue.
After consolidation, verify: