Skip to content

v6.1.0

Choose a tag to compare

@dgunning dgunning released this 12 Nov 20:17
c7ae63b
pip install --upgrade edgartools

6.1 is a minor release. A few fixes return different values than 6.0 did (for example str(ValidationResult) now prints INCONCLUSIVE when nothing was compared, and reporting_end_date is the document period end); see the 6.1 upgrade notes.

Please report anything that breaks at https://github.com/dgunning/edgartools/issues.

Added

  • Validation results say whether anything was compared. ValidationResult adds checks_completed, validation_complete and status ("valid", "inconclusive", "invalid"), and a skipped section check leaves a SECTION_NOT_EVALUATED note. str() now prints INCONCLUSIVE where it printed VALID: for every income and cash flow statement, and for 29 of 33 tracked balance sheets at level="sections". is_valid is unchanged. (GH #1210)
  • parse_inline_xbrl_set() resolves inline XBRL facts across a filing's documents. An exhibit without its own ix:header, like IBM's FY2024 inline EX-13, now resolves contexts and units the primary document defines: all 3,983 of its facts get a context, where parse_html() on the exhibit alone resolves none. (GH #1753)
  • get_financial_metrics(include_periods=True) reports the dates behind each metric. On a 10-Q, income covers the quarter while cash flow is year-to-date: Apple's Q3 FY2023 revenue is for 2023-04-02 to 2023-07-01, its free cash flow for 2022-09-25 to 2023-07-01. The keyword-only option adds a periods mapping; the default result is unchanged. (GH #1656)
  • Change in cash split by continuing and discontinued operations gets standard concepts. Four us-gaap elements map to NetChangeInCashContinuingOps, NetChangeInCashDiscontinuedOps and their ExFX variants, components that never become NetChangeInCash: Conagra's FY2025 $-9.7M continuing and $-1.3M held-for-sale rows had no concept before, and its $-11.0M total keeps NetChangeInCash. (GH #1448)
  • BDC portfolios now expose the filer's own industry breakdown and say how much industry data they have. PortfolioInvestments.reported_industry_breakdown() returns the industry subtotals a BDC files even when no holding is tagged; Ares Capital's FY2025 10-K gives 23 industries summing to its $29,484.8M total. to_context() states "Industry known for X of N positions", and an empty industry filter warns. (GH #1784)
  • get_ttm(), get_ttm_revenue() and get_ttm_net_income() take a filed_by cutoff. Only facts from filings made on or before that date are used, before any quarter is derived, and only a gap-free window qualifies: Apple's TTM revenue with filed_by="2023-08-03" is $385.1B to 2023-04-01, because the Q3 10-Q came a day later. as_of is unchanged. (GH #1699)
  • Cash income taxes by jurisdiction (ASU 2023-09) get standard concepts. Nine us-gaap elements map one to one to new concepts such as IncomeTaxesPaidFederal, IncomeTaxesPaidStateLocalGross and IncomeTaxRefundsForeign, components of cash taxes paid and never tax expense, and EntityFacts cash flow statements now show them: ServiceNow's FY2025 $46M federal, $83M state and $154M foreign rows had no concept before. (GH #1448)
  • Inline-parsed XBRL facts keep their id and their footnotes. XBRLFact gains fact_id and footnotes (footnote ids), and Document.xbrl_footnotes maps each id to the Footnote model XBRL.footnotes uses; over 35 tracked 10-K/10-Q fixtures 575 footnotes now reach 38,353 facts, where none did, matching the XBRL path. (GH #1756)
  • XBRL facts record when the filer marked an item xsi:nil. Fact.is_nil is carried into FactQuery/FactsView rows and frames (the last core column, nullable boolean) and XBRL.to_pandas()['facts'], so a nil item no longer looks like an empty one; Apple's FY2023 10-K files three, among them both CommitmentsAndContingencies facts. A nil/empty pair is now two DataFrame rows. (GH #1254)
  • get_concept() reads cash interest and income taxes paid. Four groups, interest_paid, income_taxes_paid and their _gross variants, map one tag each and report basis ('net' or 'gross') in the metadata, with no fallback between bases. In the CY2025 frames 4,150 filers tag InterestPaidNet and 169 tag only InterestPaid, for whom interest_paid is None.
  • Crypto assets (ASU 2023-08) get standard concepts. Eight us-gaap crypto elements map one to one to new concepts such as CryptoAssetsNoncurrent and CryptoPurchases, each excluding crypto held for platform users, and EntityFacts statements now show them: Tesla's FY2025 $1,008M digital assets had no concept before. (GH #1447)

Changed

  • A derived cash-flow quarter kept the cumulative period key. With discrete_quarters=True, Apple's FY2023 Q4 operating cash flow of $21,598M was keyed duration_2022-09-25_2023-09-30 and rendered "(YTD)"; it is now keyed by its own dates, duration_2023-07-02_2023-09-30, and merges with any three-month facts the filing reports for that quarter instead of showing it twice. (GH #1697)

Deprecated

  • EntityFiling.acceptance_datetime is renamed reported_acceptance_datetime. The old name warns and goes in 7.0; it is SEC's submissions-JSON value, which was 4 h late for Apple's 10-Q 0000320193-26-000020 in October 2026, so use filing.accepted_at where the exact moment matters. (GH #1501)

Fixed

  • entity_info['reporting_end_date'] was the latest context date, not the period end. It is now dei:DocumentPeriodEndDate as a date, and the old value moves to max_instant_context_date; it changed on 39 of 43 tracked instances, e.g. American Airlines' Q2 2026 10-Q read 2027-07-17, its mistyped share-count date, and now reads 2026-06-30. (GH #1208)
  • entity_info['ticker'] named the cover's last security, often a note or ETN. It is now the filer's first dei:TradingSymbol, and entity_info['trading_symbols'] / TenK.trading_symbols list every symbol with its class-of-stock member: JPMorgan's FY2023 10-K reads JPM, not AMJB, with all ten securities. (GH #1252)
  • Balance-sheet validation mishandled operands of zero. Zero total assets against liabilities and equity of $1,000,000,000 reported no imbalance because the percentage difference was forced to 0, and a reported total equity of 0 was replaced by parent equity, giving a false imbalance of 50 in a 500/500 case. Both now use the reported zero. (GH #1210)
  • Most us-gaap and srt concepts had no balance. Balances for standard concepts now come from a bundled table of the FASB us-gaap 2011-2026 and srt 2018-2026 element declarations instead of a hand-written list of 124 concepts; in Comcast's 10-Q 0001628280-26-049360, USD us-gaap concepts without a balance drop from 87 of 135 to 1. (GH #1728)
  • 8-K earnings tables with no scale caption took another table's "(in millions)". Snail's whole-dollar statement read revenue as $22.19 trillion instead of $22,185,750. An inherited scale that makes an amount impossible now steps down to a smaller declared scale or whole dollars, and a caption printed after a table's title rows is read. (GH #1779, bead edgartools-57v83)
  • Rendered statements showed rates, share counts and per-share amounts as scaled money. Apple's FY2023 effective tax rate, filed as 0.147, rendered 0.00, and its dilutive shares rendered 68.32; each cell is now formatted from its own XBRL unit, so they show 0.147 and 68,316. DataFrame values are unchanged. (GH #1737)
  • EarningsRelease misread footnoted EPS and table units. TSM's 3Q2026 6-K (0001046179-26-000726) EPS now parses as NT$29.43 from its raised letter footnote. Bare EPS rows and % change columns stay unscaled for every filer. Tables carry their declared currency (Toyota's "Yen in millions" is JPY); a scale-only note keeps USD and an unmapped currency is None, never USD. Ambiguous plain suffixes like 1.2m remain text. (GH #1824)
  • Discrete cash-flow quarters use the latest filed figures without mixing vintages. With discrete_quarters=True, a three-month value a filing presents now wins over the derived one, and a derived quarter pairs the latest-filed cumulative value with the shorter period from the same or an earlier filing, so Microsoft's Q2 FY2026 investment gains read the filed $9,931M instead of $5,017M.
  • XBRL lookups by QName missed the element catalog. check_period_data_quality() found no fact by its us-gaap:Assets-style id and read 0% essential coverage for every filing (0 of 13,058 lookups hit on 4 test filings). Every catalog lookup now uses one rule in edgar.xbrl.core. (bead edgartools-gtmsn, GH #1711)
  • XBRL.to_pandas() omitted catalog metadata from the facts frame. Colon-form ids such as aubn:EmployeeRetentionTaxCredit missed the underscore-keyed catalog, so Auburn National's FY2023 10-K (0001193125-24-067944) exported 1,844 facts with none of the five element_* columns. That credit stays the filed 0 and -1,569,000, now with its label. The lookup tries the exact key, then only the namespace separator. (GH #1711)
  • BDC industry labels dropped all but the last member of a multi-member enumeration value. clean_industry_label now returns every member joined with '; ' (any URI scheme), such a holding has sector None and never donates its industry to a peer. Measured on DERA 2025Q3/Q4: 0 of 2,752 distinct industry values change. (GH #1712)
  • A typed dimension member filed as xsi:nil read as the element name {…}QName.domain. The member is now '' with the axis kept, Context.nil_dimensions names the axis, and labels show (nil), as the SEC's rendering does; BXP's Q2 2026 10-Q row reads "Unconsolidated Joint Ventures - (nil)" (-$900,000), apart from the unqualified $29,447,000. (GH #1751)
  • Inline XBRL facts lost their xsi:nil state, and a nil fact could be given a value. XBRLFact.is_nil is read by namespace, so AAR's xs:nil preferred-stock facts count; 837 facts across 129 tracked inline fixtures are now marked nil. A nil fact is no longer transformed, scaled or signed: one with ixt:fixed-zero and sign="-" read as -0. (GH #1757)
  • A BDC's net investment income was standardized as Revenue, and get_revenue() returned None for BDCs. Total investment income is now Revenue, total expenses the new InvestmentExpenses (was nonoperating income) and net investment income the new NetInvestmentIncome; Main Street's FY2025 revenue is $566.4M instead of None, with its $366.7M net investment income no longer called revenue. Insurers' revenue is unchanged. (bead edgartools-k7mi8.6, GH #1842)
  • extract_nonaccrual() dropped a non-accrual flag linked to a holding's rate or principal instead of its fair value. The flag now reads that holding's fair value at the same date: New Mountain Finance's 10-Q for 2026-09-30 reads 9 holdings, 1.75%, where it read none. (bead edgartools-jv8b8)
  • extract_nonaccrual() read a BDC that tags zero non-accruals as unknown. A zero amount or count of non-accrual investments, with no non-accrual footnote, now gives extraction_method="tagged_zero", a rate of 0.0 and num_nonaccrual 0; 8 of 179 active BDCs, Stone Point Credit among them, read this way. (bead edgartools-rol2k)
  • extract_nonaccrual() read no non-accruals from BlackRock's three BDCs. Their schedules mark holdings "Non-accruing debt investment.", which the non-accrual pattern did not match, so every filing read extraction_method="none". BlackRock TCP Capital's 10-Q for 2026-09-30 now reads 17 holdings, 3.27% at fair value. (bead edgartools-tfhpl)
  • Statement unit labels come from the unit's measures, not its id. to_dataframe(include_unit=True) labelled Microsoft's FY2024 basic EPS (USD per share) as shares and revenue as u_usd; they are now usdPerShare and usd, a row whose periods differ shows mixed, and an unresolved unit shows unit unavailable. Parsed units gain a definition of expanded-QName measures. 1,514 of 13,747 row labels across the tracked fixtures are corrected. (GH #1746)
  • footnoteArcs with another arcrole are no longer read as ordinary footnotes. XBRL.from_files() attached every arc that reached a link:footnote, so a custom-arcrole association showed up in Fact.footnotes; only fact-footnote arcs attach now, as the inline readers already required. 0 of 49,267 arcs in the tracked fixtures change; fact-to-fact arcs are still not modelled. (GH #1767)
  • A 10-K/10-Q section lost its own "Item N" heading when the contents link pointed just after it. The section now starts at that heading: BXP's 10-Q 0001037540-26-000034 Part I, Item 1 opens on "ITEM 1—Financial Statements." (120,209 characters) instead of on the balance sheet. (GH #1622)
  • Non-USD opening and closing cash balances no longer display a dollar sign. The balance shown under a duration column now takes its currency, accuracy and sign from the instant fact it was read from, so SAP's FY2025 cash flow shows €9,609 / €8,220 instead of $9,609 / $8,220; a balance with no usable unit shows "(unit unavailable)" rather than "$".
  • edgar.xbrl.core.format_value() no longer returns an invisible control character for zero. A zero is now formatted like any other number ($0, or 0.00 when decimals call for it) instead of U+0014; statement cells keep showing a filed zero as blank.
  • to_dataframe() keeps each occurrence's presentation parent — a concept presented under two parents no longer reports the first one on both rows, and its dimension rows follow the line they break down. Cato's FY2023 income statement now places the second net loss row (−$23.9M) under the comprehensive income section; 350 rows in 24 of 2,793 fixture statements change.
  • us-gaap roll-forward headings and domain members read as non-abstract. The name-based guess for concepts from imported taxonomies missed the Rollforward spelling and every ...Member, so 1,674 of the 5,369 abstract elements in us-gaap-2025 read abstract=False; it now misses 10, with no false positives. abstract="1" is read as true, and a declaration the parser read is no longer overridden by the name. (GH #1730)
  • A BDC's total investment income was standardized as nonoperating income. us-gaap:GrossInvestmentIncomeOperating mapped to NonoperatingIncomeExpense, so Barings BDC's $65.2M Q2 2026 total investment income was labelled nonoperating; the mapping is removed and the row keeps its filed label and amounts with no standard concept. (GH #1842)
  • SAP's cash-flow "Dividends paid" row showed the equity-statement total. ifrs-full:DividendsPaid was classed as a cash flow, so SAP's FY2025 row read EUR 2,746M instead of the filed EUR 2,743M. The row now carries the parent-shareholder cash line, dividends to non-controlling interests get their own row, and the equity total stays out of the cash-flow view. (GH #1679)
  • Stitched DataFrame columns could not say how long a period was. A stitched 10-Q keyed three-, six- and nine-month columns by bare end date, so Apple's nine-month net sales of $293,787M sat under 2023-07-01. to_dataframe(period_columns="interval") now names each column by its exact dates (2022-09-25 to 2023-07-01); the default names are unchanged. (GH #1741)
  • Importing edgar on one thread while another imported a submodule failed in both threads. import edgar now imports no submodule, and each top-level name such as edgar.Company loads its module on first use, so the reporter's script, which failed in 3 of 3 runs, now succeeds. (GH #1325)
  • filing.accepted_at gives the exact acceptance time; the submissions-JSON value could be hours off. get_filings() read Apple's 10-Q 0000320193-26-000020 as 14:01:02 UTC for weeks, against a true 10:01:02. accepted_at reads the filing's 3-20 KB index header as a tz-aware America/New_York datetime, and filings.accepted_at() reads a whole set. (GH #1501)
  • search_filings() results carried SEC's display decoration in company. NVIDIA's 10-K 0001045810-24-000029 came back as "NVIDIA CORP (NVDA) (CIK 0001045810)"; it is now "NVIDIA CORP", the same name find() resolves through the accession lookup, with the CIK still in cik. (GH #1708)
  • MultiFinancials.income_statement() and cash_flow_statement() now accept include_quarterly. The keyword raised TypeError although the stitch underneath supported it; with include_quarterly=True, Apple's 10-Q 0000320193-23-000077 adds a $81,797M quarter column next to its $293,787M year-to-date revenue. The default stays year-to-date only. (GH #1783)
  • An imported axis used through xbrldi:typedMember now reports is_typed_dimension=True. Only a typed dimension may carry a typedMember, so the instance settles the kind of an axis whose declaration sits in an unloaded US-GAAP schema; 12 such axes across the tracked fixtures flip from False. typed_domain_ref stays empty until imported schemas are read.
  • A dimension default declared in another role now applies in every role that uses the axis. axes_for_role(role)[axis].default_member_id read the default only from the hypercube's own extended link, although a dimension-default arc is global; Microsoft's FY2024 10-K had 48 axis-role pairs reporting None that now agree with xbrl.axes.
  • Units with several measures keep every factor. A unit whose xbrli:measure children form a product (feet x feet) was stored with only its first measure, so USD x shares read as a plain dollar amount; it is now {'type': 'product', 'measures': [...]} and is no longer classed as a currency. None of the 269 units in the tracked fixtures is a product, so their parsed units are unchanged.
  • Domains reached through xbrldt:targetRole keep their nested members. A cross-role domain copy took only the root's direct members, and a domain-member arc carrying targetRole was not followed, so a branch's children in the target role were missing from domains_for_role(); the issue's branch now lists its 1 leaf member instead of none.
  • Typed dimension values keep their content. A typed member with nested element content took the child's tag as its value, so different nested values collapsed into one, and 10:30 was rewritten to 10_30 as if it were a concept name; nested content is now kept as filed and non-QName typed values are no longer rewritten. Dimension keys in the 15 tracked fixture directories with typed members are unchanged.
  • BDC portfolio industries no longer report a tranche word, a legal form or the issuer's own name as the industry. Ares Capital's FY2025 10-K returned Middle, SCSP and Nordic Ferry Infrastructure AS for five holdings ($52.3M of fair value); they now read None, and across 39 BDC 10-Ks only those and two OBDC SCSp rows change. (GH #1669)
  • Prospectus497K.tickers reads the cover when the SGML header omits the ticker. Ocean Park High Income ETF (0001580642-24-004234) now returns ['DUKH'] instead of []; in 250 sampled 2024Q3 497Ks the cover ticker matched the header on all 64 single-class filings that carry one, and filled 5 of 29 that do not. (GH #912)
  • TTM diluted EPS was NaN when a filer's diluted and basic numerators differed by a rounding-sized gap. The basic numerator now stands in for a missing diluted quarter when the filer's own diluted and basic figures agree within 0.5%, so GOOGL's Q2 2026 TTM diluted EPS is 19.94 instead of NaN. Larger gaps, such as preferred dividends (GH #1692), are still refused. (edgartools-91gqw)
  • Balance-sheet facts now have a fiscal_period. xbrl().facts left it empty on every instant fact, so get_facts_by_fiscal_period() returned no balance-sheet values. A fiscal year end is now FY and another quarter end is that quarter; Microsoft's Q1 FY2027 10-Q query returns 701 facts instead of 290. Dates that close no period stay empty.
  • SEC viewer report facts stay in the table body. Fact rows (a td class="pl" label plus a value) were treated as column headers when they read like periods, so Apple's 10-Q cover page (R1.htm) lost "Document Period End Date | Mar. 29, 2025" and two other facts from its body and Markdown. They now stay body rows; only that 1 of 381 Apple R-report tables changes. (GH #1477)
  • Hidden spacer cells no longer push table values under the wrong period. Empty display:none cells counted toward a row's width, so JPMorgan's FY2024 10-K reported its 2023 managed-basis overhead ratio (54%) under 2022. They now take no grid slot, which corrects period labels in 220 of 12,948 tables across the HTML test corpus. (GH #1847)
  • ixt-sec:exchnameen returned exchange codes outside the dei:SecurityExchangeName enumeration. "NYSE Texas" gave NYSETXSE and "NYSE Chicago" NYSECHX; they now give the dei 2026 codes NYSETX and CHX, and the Long-Term Stock Exchange and MEMX, which have no dei code, are rejected instead of mapped to invented ones. All 330 exchange facts in the fixture corpus are unchanged. (GH #1726)
  • Inline XBRL format names now resolve in the registry their prefix is declared for. A format matched its local name under any namespace, so TR3's nonexistent fixed-zero counted as known, and TR4's date-month-year/date-year-month, TR5's num-*-decimal-apos and five ixt-sec rules were missing; ixt:date-month-year over 12/2025 now gives 2025-12. Non-English date rules remain unimplemented. (GH #1743)
  • An Inline XBRL fact gained a space at each ix:continuation, splitting a token the filer had split across elements. Cooper's address line came out as 6 101 Bollinger Canyon Road; the chain is now joined with nothing inserted, as Inline XBRL 1.1 and the SEC's extracted instances do. 5 of 247,583 facts in the fixture corpus change, each now equal to the SEC instance. (GH #1748)
  • Inline duration transforms returned fractional values such as P9.5Y, which are not valid xs:duration. ixt-sec:duryear and its siblings now spill the fraction into smaller units as the SEC does (9.5 years is P9Y6M), and durwordsen no longer skips words it cannot read, which turned Amazon's "twenty-five years" into P5Y. 570 of 2,441 duration facts in the fixture corpus change. (GH #1754)
  • Escaped Inline XBRL TextBlock values kept nested ix: tags and ix:exclude page furniture. Unwrapping and exclusion applied only to a fact's direct children; they now apply at every depth, on a copy of the tree. In the fixture corpus 5,140 escaped facts carried <ix: markup and none do now, and all 92 of Microsoft's escaped facts match the SEC instance word for word. (GH #1770)
  • Calculation and definition role names use the schema's roleType definition. Only presentation roles read the loaded link:definition; calculation and definition roles were named by the role URI's last segment. NIKE's FY2026 income-statement calculation role now reads "9952151 - Statement - CONSOLIDATED STATEMENTS OF INCOME" instead of "CONSOLIDATEDSTATEMENTSOFINCOME"; a role with no definition still falls back to the URI. (GH #1731)
  • Prohibited linkbase relationships no longer appear in statements, calculations, dimensions or labels. The parsers ignored use and priority, so a use="prohibited" arc added the relationship it was meant to remove; they now apply XBRL 2.1 section 3.5.3.9.7 through one shared resolver. Travelers' Q2 2009 10-Q/A prohibits 1,466 template presentation arcs, and its balance sheet is now its own 36 rows instead of a 245-row template. (GH #1736)
  • Calculation trees now read each arc's arcrole. An arc with a non-summation arcrole is no longer taken for a summation, a 2003 and a 2023 summation-item arc between the same concepts are kept as two networks instead of the first only, and CalculationArc.arcrole records which one each edge belongs to; NIKE's FY2026 10-K files all 161 of its calculation arcs under the 2023 arcrole. (GH #1742)
  • Presentation trees keep a child presented twice with a different order or preferred label. The parser kept only the first of the two relationships; the new PresentationTree.relationships holds every effective relationship as filed, while statement rows stay one per concept. Coca-Cola's FY2011 debt details present long-term debt at order 21 (total label) and order 30 (verbose label), and both are now kept. (GH #1758)
  • A primary statement that opens with its table is now typed. STERIS's 10-Q income statement (0001628280-26-054830) sits under us-gaap:StatementTable, so its catalog type was None, Statements.get("IncomeStatement") returned a segment disclosure and get_statement_facts returned 0 rows; it now returns 110, including revenues of $1,492,700,000. (GH #1838)
  • Registration statements with annual financials render their periods. NLS Pharmaceutics' F-4 (0001213900-24-113211) declares no fiscal period, so period selection took the quarterly path and found nothing; it now falls back to annual periods, and the income statement shows FY2023 net loss of $(12,172,029) with FY2022 and FY2021. (GH #1839)
  • No more empty historical columns from the period-selection fallback. Ambac's comprehensive income statement (0000874501-23-000040) carried an empty FY2016 column whose only fact is a 5% transfer restriction elsewhere in the filing; the fallback now keeps only periods in which the statement has a value, leaving FY2022, FY2021 and FY2020. (GH #1840)
  • AEON's operations statement shows the successor period by default. The quarterly anchor was a 61-day period the statement presents through one fact, so the 70-day successor period was never a candidate; anchors are now chosen among periods the statement presents, and the default frame shows successor operating income of $64,286,000 beside the predecessor column. (GH #1841)
  • Income statements of filers without ordinary revenue or net income are selected again. AEON's 10-Q/A (0001837607-24-000014) resolved to restatement details and Barings BDC's 10-Q to nothing, because neither primary carries the standard revenue or net-income concepts; a role the filing declares a statement and types by its abstract is now accepted when no candidate validates, giving BBDC total investment income of $65,202,000. (GH #1843)
  • EntityFacts.time_series() kept duration_days only when rows matched. An absent concept or periods=0 returned five columns, so reading duration_days raised KeyError. Empty results now have the same six documented columns as a populated series, with zero rows. (GH #1709)
  • business_category no longer calls Netflix an ETF. The ETF name check was a substring test, so NETFLIX, JETFLEET and MARKETFIELD were labelled ETFs; "ETF" now has to start or end a word. 60 of the 391 SEC company names containing those letters change, all out of ETF.
  • Balance-sheet validation checks the equation for filers whose captions it did not recognise: validate_balance_sheet() now finds Assets, Liabilities, equity and their combined total by XBRL concept before label. It had returned INCOMPLETE_DATA for 18 of 33 tracked fixtures, among them Apple, Microsoft and JPMorgan; now 32 balance and one reports a genuine gap.
  • An unknown validation level raises instead of running the basic check: Statement.validate(level="detalied") ran only the fundamental equation check and reported success. It, validate_statement() and validate_balance_sheet() now raise ValidationError naming the 3 valid levels; the levels stay case-insensitive and accept ValidationLevel members.
  • Statement.validate(level="detailed") was documented as line-item rollup validation it never ran. The docstrings now say detailed runs the same two checks as sections (on IBM's FY2024 10-K both levels return the identical result, $137,175M of assets balancing); the argument and results are unchanged. (GH #1739)
  • viewer.validate() skipped a total when one calculation child had no value. A nil or unreported child is now left out of the sum, as XBRL 2.1 calculations do, and listed in the new missing_children key, so Apple's 10-Q balance-sheet identity ($331,233M) is checked where it used to be missing from the results. (GH #1740)
  • Balance-sheet validate() compared totals from different dates. Each operand took its row's first non-null value, so National Presto's Q1 2026 10-Q compared April 5 assets with December 31 liabilities and equity and reported a $31,418,000 imbalance. Every operand now comes from one column, named in metadata["period"], and an equation that column cannot complete is reported as INCOMPLETE_DATA. (GH #1852)
  • extract_filing_fees_xbrl ignored inline-XBRL transformations on totals and the final-prospectus flag. Welltower's ixt:fixed-zero totals came back as an em dash instead of '0', and NextEra's ixt:booleantrue flag (accession 0001193125-25-338333) read False. Digit-free amounts now take the transformed value and the flag is read as an xs:boolean; amounts with digits keep their display text. (GH #1681)
  • AuditorInfo.icfr_attestation read a valid 1 as False. The DEI flag is an xs:boolean with two true forms, true and 1, and only true was recognized. Both now read True, and false/0 False, through a shared edgar.xmltools.parse_xml_boolean. (GH #1724)
  • Company.income_statement(), balance_sheet() and cash_flow_statement() returned None for an invalid argument. period="quarter" gave None from all 3 methods while company.facts raised. They now raise ValidationError (IS-A ValueError), including for the balance sheet, and let statement-builder errors propagate; None still means SEC has no company facts. (GH #1732)
  • Document.to_dataframe() raised InvalidIndexError when a duplicate-header suffix collided with a literal header. Headers Revenue, Revenue, Revenue.1 gave two Revenue.1 columns; suffixes now skip every name already present (Revenue, Revenue.2, Revenue.1), and a header named like a metadata column is kept. Column names are unchanged on 1,169 tables from 4 real 10-Ks. (GH #1734)
  • XBRL context periods written with padding or as a whole-day dateTime split off or vanished. 2024-06-30 and 2025-01-01T00:00:00 were keyed as raw text and dropped from reporting_periods; both are now read as the dates they equal, so IBM's FY2024 instance respelled this way still shows total assets of $137,175M at 2024-12-31. (GH #1762)
  • A fact reported with @precision had no decimals and outranked a more precise duplicate. Precision now implies decimals (XBRL 2.1 §4.6.6) and is kept as Fact.precision, and a fact of unknown accuracy ranks below any stated one; IBM's FY2024 total assets restated with a two-digit duplicate showed $140,000M instead of the filed $137,175M. (GH #1765)
  • Inline XBRL scale and sign conversion rounded to the caller's Decimal precision. Under decimal.localcontext(prec=8), parse_html() read IBM's filed 927,264,332 shares outstanding (10-K, 0000051143-25-000015) as 927,264,330; scaling now moves the exponent and negation flips the sign, so neither consults the context. (GH #1854)
  • A derived cash-flow quarter kept the cumulative date range in its column name. With use_optimal_periods=False, discrete_quarters=True, Apple's Q3 2026 operating cash flow of $34,369M was headed Q3 Nine Months: September 28, 2025 to June 27, 2026; it is now Q3 Quarterly: March 29, 2026 to June 27, 2026. (GH #1697)
  • Quarterly stitched statements attributed periods to the wrong source filing. With include_quarterly=True, period_sources counted selected periods instead of filings, so Oracle's six-month revenue of $27,366M was credited to the prior 10-Q and its Q1 to an index past the end of a two-filing list. Each period now names the filing it came from. (GH #1837)