[BUG] Tax-related line items appearing as unmapped #22
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Several tax-related XBRL concepts are appearing in the unmapped section rather than being properly categorized in the income statement or balance sheet.
Current Tax Mapping
From
lib/server/financials/standard-template.ts:269-289:Problem
The template excludes current/deferred tax breakdowns to avoid double-counting, but these items then appear as unmapped. This creates confusion because:
Related Balance Sheet Items
Also check if these are properly mapped:
DeferredIncomeTaxAssetsNet- should map todeferred_income_taxes_assetDeferredIncomeTaxLiabilitiesNet- should map todeferred_income_taxes_liabilityProposed Fix
income_tax_expensecomponentKeystoincome_tax_expenseto show breakdown when expandedFiles Affected
lib/server/financials/standard-template.tslib/server/financials/surface.tsUpdate: Root Cause Analysis
The Rust sidecar IS being used. Tax items are mapped via
rust/taxonomy/fiscal/v1/core.income-bridge.json.Current Tax Mapping:
From
core.income-bridge.json(lines 221-254):Problem:
The income-bridge correctly maps
IncomeTaxExpenseBenefitas the authoritative concept, but:CurrentIncomeTaxExpenseBenefit,DeferredIncomeTaxExpenseBenefit) are NOT in the mappingsurface_mapper.rstreats unmatched concepts asUnmappedResidualFix Required:
income_tax_expenseCurrentIncomeTaxExpenseBenefitandDeferredIncomeTaxExpenseBenefittoallowed_source_conceptswithdetail_grouping_policy: "group_all_children"core.surface.jsonFiles to Update:
rust/taxonomy/fiscal/v1/core.surface.json- Add tax detail surfacesrust/taxonomy/fiscal/v1/core.income-bridge.json- Add tax component concepts