balance sheet reporting overwriting some of the concept values (example HALO)
Issue Type
- [ ] Data Quality Issue (incorrect financial values, missing data)
- [ ] XBRL Parsing Issue (statement rendering, concept mapping)
- [ ] Filing Access Issue (download failures, attachment problems)
- [ ] Performance Issue (slow operations, memory problems)
- [ ] Compatibility Issue (platform/dependency conflicts)
- [x ] Documentation Issue (unclear instructions, missing examples)
Environment
EdgarTools Version: 5.6.2
Python Version:3.10.19
Operating System: win 11
Bug Description
What you expected to happen: Your script appears to overwrite some concept names
What actually happened: A clear description of what went wrong.
Error message (if any):
Reproduction
Company/Ticker: HALO Time Period: 2025 Relevant Forms: 10-k
Minimal code to reproduce:
# Paste the minimal code that reproduces the issue
from edgar import Company
company_ticker = "HALO"
company = Company(company_ticker)
financials = company.get_financials()
balance_sheet = financials.balance_sheet()
bs_df = balance_sheet.to_dataframe(include_dimensions=False,presentation=True)
# ... rest of reproduction code
Additional Context
This is a very minor issue.
for this stock us-gap is replaced with the ticker symbol (but only for these two lines). It impacts people who are searching on both concept and label values......
halo_AccountsReceivableAndContractWithCustomerAssetAfterAllowanceForCreditLossCurrent halo_PropertyPlantAndEquipmentAndOperatingLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization
The lines should be.
us-gaap_Accounts..... us-gaap_Prop........
This issue will be handled using EdgarTools' systematic issue resolution workflow. A reproduction test will be created to verify the fix.
Thank you for reporting this issue! I've classified this as a normal bug (P2 Medium priority) for v5.8.0.
Analysis:
The concept names showing halo_ prefix are technically correct from an XBRL standpoint - these are company-specific extension concepts in HALO's custom taxonomy namespace. However, I agree this creates a confusing user experience when you expect standardized us-gaap_ prefixes.
Good news:
- The financial VALUES are correct
- The LABELS are correct
- You can work around this by using the
labelcolumn for searching/filtering
Current workaround:
# Instead of filtering by concept:
# df[df['concept'] == 'us-gaap_AccountsReceivable...'] # Won't work
# Filter by label instead:
df[df['label'].str.contains('Accounts receivable')] # Works!
Fix options being considered:
- Add a
standardized_conceptcolumn that maps company extensions to standard concepts - Add a parameter to normalize concept names
- Document that concept names reflect actual XBRL taxonomy (can be company-specific)
Timeline: Scheduled for v5.8.0 release (estimated 1-3 days of work when prioritized)
Tracking:
- Beads issue:
edgartools-17ow - GitHub: #570
Thank you for reporting this issue, @miruddfan! I've triaged this as a metadata accuracy issue for our v5.8.0 release.
Classification: Normal Bug (Scheduled Release)
Why not critical?
- Financial VALUES and LABELS are correct (no data accuracy issue)
- Core functionality is not blocked
- Workaround exists: Use the
labelcolumn instead ofconceptfor searching/filtering
Impact: You're correct that this affects users doing cross-company concept analysis or searching by concept names. It's particularly noticeable for companies with custom XBRL namespace extensions like HALO.
Root Cause:
HALO defines custom XBRL extensions in their filing schema. From an XBRL standpoint, EdgarTools is technically correct to preserve the halo: namespace prefix. However, from a UX standpoint, this creates confusing inconsistency when comparing across companies that use standard us-gaap: concepts.
Workaround (for now):
# Instead of searching by concept:
df[df['concept'].str.contains('AccountsReceivable')]
# Search by label (more reliable across companies):
df[df['label'].str.contains('Accounts Receivable')]
Planned Fix: We're considering several approaches:
- Normalize company-specific concepts to us-gaap equivalents (if mappable)
- Add a
standardized_conceptcolumn alongside the existingconceptcolumn - Add a configuration parameter
standardize_concepts=True/False
This will be addressed in our v5.8.0 minor release. I've tracked this as edgartools-17ow in our internal issue tracker.
Thank you for the clear reproduction example and for understanding that this is a minor issue!
Investigation Complete
After investigation, this is working as designed - not a bug in EdgarTools.
What's Happening
HALO uses custom XBRL extension concepts in their SEC filing. These are not mislabeled us-gaap concepts:
halo_AccountsReceivableAndContractWithCustomerAssetAfterAllowanceForCreditLossCurrent- combines Accounts Receivable + Contract Assetshalo_PropertyPlantAndEquipmentAndOperatingLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization- combines PPE + ROU Assets
The SEC allows companies to create custom concepts when standard us-gaap concepts don't fit their reporting needs. HALO chose to combine multiple line items into single concepts, requiring custom extensions.
Why the concept Column Shows This
The concept column correctly shows the actual XBRL concept from the filing. EdgarTools is not "overwriting" anything - we're accurately reflecting what HALO filed with the SEC.
For comparison, companies like AAPL and MSFT use standard us-gaap concepts throughout their balance sheets.
Workaround
For cross-company analysis, you can filter by the label column instead of concept, as labels are more standardized across companies.
Future Enhancement
We're working on supporting user-provided standardization and company-specific concept mappings in a future release. This will allow mapping custom extension concepts to their closest us-gaap equivalents for cross-company analysis.
Closing as working-as-designed. Thank you for the detailed report!
Closing as working-as-designed. See above for details.