DECENTRALISED NEWS · FINANCIAL DATA ENGINEERING · 2027 PLANNING GUIDE
A Companyfacts value belongs in a historical AI backtest only after its filing, exact accounting scope and availability to the decision process have been established. Matching a company, a familiar revenue label and a quarter-end date is insufficient. A later filing may report a different comparative value; a neighbouring row may cover six months instead of three.
Sources checked: 29 November 2026. This 2027 guide contains an original, executable selection exercise using seven fictional, SEC-shaped records. It does not report a real issuer restatement, an SEC ingestion-latency measurement or a trading result. The displayed company identifiers, accessions, amounts and timestamps are invented.
What Matters
- Default synthetic selection: seven records produce two exact-scope candidates and one timing-eligible record: USD 120 million.
- Later synthetic revision: USD 108 million becomes eligible only after its declared acceptance and availability times.
- Required evidence: entity, concept, unit, period, context, accession and two distinct clocks.
- Unknown or ambiguous: the selector withholds a value instead of treating missing information as zero.
Imagine a researcher asking an assistant to rebuild the revenue growth signal used on an August morning. The assistant finds an authoritative current response and retrieves a lower revenue figure for the same June quarter. Its arithmetic can be perfect while its reconstruction gives the earlier process information that arrived later. The useful question is which source record the process could have used.
The Signal: Choose the endpoint for the research question
The SEC’s public data API documentation describes Companyfacts as an aggregation of company concepts, Companyconcept as disclosures for one company and concept, and Frames as the last-filed fact that best fits a requested calendar period. Those retrieval choices serve different questions.
| Source | Useful starting point | Additional work for a historical decision |
|---|---|---|
| Companyfacts | Explore a company’s available concepts and disclosures. | Select the exact scope and join candidates to filing evidence. |
| Companyconcept | Inspect one concept and its reported units. | Retain competing periods and accessions until they are classified. |
| Frames | Assemble a calendar-aligned cross-company view. | Do not assume its latest-filed choice reconstructs an earlier information set. |
| Original filing and retained input | Check what a particular disclosure actually says. | Establish when the relevant process received that version. |
The same documentation says the XBRL APIs aggregate standard-taxonomy facts applying to the entire filing entity. An absent custom or segment-specific fact therefore needs investigation; absence from this response does not establish that the issuer disclosed nothing. For original context, return to the filing.
Define the fact before choosing its newest value
A robust selection key states the entity, namespace-qualified concept, unit, reporting period and context. The filing accession identifies where that candidate came from. Retain every component through normalization. An accession by itself does not identify one revenue figure: a filing can contain multiple periods and measures.
DN’s exercise uses the exact concept us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax, USD units and an explicitly declared entity-wide context. These are matching fields, not claims that a text label authenticates an XBRL context. A production importer must establish the underlying meaning before producing this small normalized ledger.
Consider two fictional records ending on 30 June. One starts on 1 April and contains USD 120 million. Another starts on 1 January and contains USD 220 million. Selecting by the end date alone makes a quarterly figure and a year-to-date figure appear interchangeable. They are not two versions of the same duration.
The exercise rejects that collision by requiring an exact start and end. It also excludes the same-period EUR value, another entity’s value, operating income and a segment-labelled amount. No currency conversion, taxonomy mapping or consolidation adjustment is inferred. Each would be a separate transformation with its own evidence and method.
For an instant fact, such as a balance at a specified date, the normalized start is explicitly null. The worksheet requires the reader to select the instant mode and clear the start field. A blank duration start is an error; it never quietly turns a duration into an instant. This small distinction prevents a convenient default from changing the question.
Join the accession to a timestamp with a stated meaning
The SEC’s EDGAR access guide describes an accession as the identifier of an accepted submission. It also notes that the submitting entity’s CIK in an accession may belong to a filing agent. Preserve the issuer identifier separately rather than assuming the accession prefix identifies the business being analysed.
The SEC Webmaster FAQ distinguishes the report period, official filing date and acceptance timestamp. It also says there is no timestamp indicating when filing content first becomes available on sec.gov. A date-only filed field cannot resolve whether a morning decision preceded an afternoon filing.
Our local replay therefore requires two supplied UTC timestamps: acceptedAt and availableAt. The second means that the normalized record was available to the particular process being reconstructed. It is an additional evidence field, not a claim that Companyfacts supplies it. In a real workflow it needs a contemporaneous receipt or processing record linked to the retained content.
If that record is missing, the worksheet leaves timing unresolved. Typing an assumed one-minute delay into the ledger would create a hypothetical timing study. It would not recover a historical receipt. The DN financial-data vintage guide covers those clock distinctions with archived macro releases and separate storage examples; this guide applies a stricter identity check to financial-statement candidates.
The worked example: the period is unchanged, the eligible filing changes
All values in this example are invented. The first filing reports USD 120 million for the period 1 April through 30 June 2026. It is accepted at 20:05 UTC on 31 July and available to the fictional process at 20:06. A later filing reports USD 108 million for the same exact fact identity, with corresponding times on 14 August.
| Candidate | Period | Value | Process availability, UTC | At 3 August, 13:00 UTC |
|---|---|---|---|---|
| First filing | 1 April–30 June | USD 120 million | 31 July, 20:06 | Eligible |
| Later filing | 1 April–30 June | USD 108 million | 14 August, 20:06 | Future information |
| Year-to-date row | 1 January–30 June | USD 220 million | 31 July, 20:06 | Wrong duration |
At the default decision time, the selector returns the first filing. Move the cutoff to 17 August at 13:00 UTC and it returns the later one. Both outputs follow the same rule. The difference comes from the information cutoff, not from selecting whichever answer makes a strategy look better.
To show why the distinction can matter, assume a comparable prior-year quarter of USD 100 million that was already available. Under that additional synthetic assumption, the original figure produces:
Growth = (120,000,000 − 100,000,000) / 100,000,000 = 20%.
Using the later figure produces:
Growth = (108,000,000 − 100,000,000) / 100,000,000 = 8%.
A rule requiring growth strictly above 10% changes from pass to fail. The difference is 12 percentage points. It is not a measured loss, a return forecast or evidence about the frequency of real restatements. The prior-year denominator would also need its own historical eligibility check in a complete experiment. These two lines only demonstrate how a changed input can alter a declared rule.
Make the selection rule reproducible
For the requested identity, a row is timing-eligible only when both its acceptance and process-availability timestamps are at or before the decision cutoff. Equality is included. Among those eligible candidates, the worksheet chooses the latest acceptance timestamp. The rule uses filing order after the availability gate, rather than whichever record was pasted last.
This matters when an older filing arrives late. Suppose the process receives the first filing again after it has already received the later filing. Arrival order alone could overwrite the newer value with an older one. The exercise retains both receipts but selects the latest eligible filing according to its declared acceptance time.
A matching row with an unknown time or value blocks selection. That is deliberately conservative: without the missing evidence, the worksheet cannot establish whether the row changes the answer. A row conclusively accepted after the cutoff can be excluded even if some other fields remain unknown. Unknown metadata must never be converted to midnight, zero or an invented earlier time.
Distinct accessions tied at the latest eligible acceptance time also block selection. Conflicting normalized records sharing an eligible accession block it as well. The reader must supply a richer provenance record or resolve the conflict. The program has no hidden preference for an amendment, a larger figure or the last line.
Inspect the filing selected by your cutoff
The defaults are seven fictional normalized records. This local selector does not parse raw Companyfacts or authenticate source timing. Choose an instant only after clearing the start field.
Calculations stay in this browser. No inputs are uploaded or added to analytics. A downloaded result contains your supplied inputs and the calculation, not independently verified evidence.
Illustrative starting result: Selected the latest timing-eligible exact-scope filing from the supplied records.
- Selected value
- 120,000,000 USD
- Selected accession
- 0000000000-26-000001
- Exact-scope rows
- 2 of 7
- Timing-eligible rows
- 1
Run the worksheet to produce a result receipt for the current inputs.
A different number needs an explanation, not an automatic accusation
A value difference is a review trigger. It does not, by itself, establish an accounting restatement or misconduct. First compare the actual filing text, scope, concept, period, unit and context. A revised presentation, a different duration, a normalization mistake or a rounded duplicate can produce superficially conflicting numbers.
XBRL International’s duplicate-fact guidance explains that repeated facts can have identical values or values consistent with different reported precision. It distinguishes those cases from inconsistent duplicates. Consequently, deleting everything except one row is not a sufficient general duplicate policy.
The DN selector works on a deliberately smaller normalized model. Identical records under its matching fields do not contribute twice. Conflicting values are withheld; the tool does not inspect XBRL precision intervals, footnotes or full dimensional contexts. Its strict refusal is a request for evidence, not a finding that the source filing is invalid.
An amended filing may also change material outside the selected measure. Conversely, a later ordinary filing can repeat a comparative amount with a different presentation. Inspect what changed before assigning an explanation. Store that interpretation beside the source version so an AI assistant cannot turn “later numeric candidate” into “proven restatement” without support.
Keep the input and the decision together
Download the XBRL selection evidence pack for the seven invented records, default inputs, expected results, a standalone JavaScript selector and a standard-library Python reproduction. It includes explicit validation cases rather than a screenshot of a successful result.
The local examples test the original and later cutoffs, the interval between acceptance and availability, the exact inclusive boundary, missing information, duplicate ambiguity and incompatible scopes. They also reject malformed dates, chronology inconsistent with this model, raw numeric values that have not been normalized to decimal strings, and excessive input sizes.
The browser instrument accepts a maximum of 100 normalized records and 50,000 UTF-8 bytes. Values remain decimal strings, so selection does not require converting large financial amounts through floating-point arithmetic. The format is intentionally different from an entire raw Companyfacts response. Extract and review a small candidate set; do not paste a whole filing archive and expect hidden parsing.
In a production handover, retain the original response, retrieval parameters, content digest, accession-to-filing link, time evidence and normalization version. A checksum helps detect a change against a retained reference. It does not authenticate the financial statement or prove that the bytes were available at the historical cutoff.
The SEC documents post-acceptance corrections and removals. That is another reason to retain the particular source version used instead of relying exclusively on a URL that can be revisited. The public Financial Statement Data Sets also warn that extracted datasets are incomplete substitutes for original filings. Their extraction and publication process should not be silently equated with a live Companyfacts capture.
Give the AI an evidence contract
A useful research instruction names the issuer, exact concept, unit, duration or instant, context, decision cutoff and permitted evidence boundary. It requires the selected accession and a reason for each excluded candidate. It also defines what happens when no row qualifies: return unavailable, or apply a separately documented carry-forward rule. Inventing a convenient number is not a missing-data policy.
Keep validation and investment interpretation separate. This worksheet can show that a declared record is the latest eligible match within a supplied set. It cannot establish that the set contains every filing, that the accounts are economically comparable, that the growth signal has predictive value or that the strategy could execute at a particular price.
For the next layer, use DN’s financial-report arithmetic worksheet to check totals and denominators after source selection. Keep the research with its version in the research-data directory. Teams needing a defined source-to-output review can commission a scoped DN Research Desk assignment; the method and local verifier are available independently.
DN Alpha Thesis
A financial research pipeline earns trust by preserving which disclosure could support a decision at the time. The useful improvement is a testable selection contract: exact fact identity, declared clocks and explicit refusal when evidence is ambiguous. More agent calls cannot repair missing acquisition history.
Frequently asked questions
Can I use the latest Companyfacts response for an old backtest?
You can use it to identify candidate disclosures, but a historical input needs the correct fact scope and source version plus evidence of availability by the decision time. A current response alone does not reconstruct the earlier process.
Is an SEC acceptance timestamp the same as first public availability?
No. The SEC distinguishes acceptance from website availability. This exercise requires a separate supplied process-availability timestamp and leaves missing timing unresolved.
Why does the worksheet exclude a value with the correct quarter-end date?
The start date, unit, entity, concept or context may differ. A six-month year-to-date value and a three-month quarter can share an end date while measuring different durations.
Does a changed comparative number prove there was a restatement?
No. Inspect the filing explanation and exact accounting context. This selector identifies competing records; it does not classify the legal or accounting reason for their difference.
Can I paste raw Companyfacts JSON into this instrument?
No. Supply the documented small normalized array. The tool does not parse a full SEC response, infer dimensional contexts or fetch filing metadata.
Does this selector prove that a dataset is complete?
No. It tests the records supplied to it. Missing filings, omitted contexts and unrecorded delivery delays require a separate acquisition and completeness review.
Primary sources, scope and corrections
- SEC: EDGAR Application Programming Interfaces — documented aggregation and endpoint scope.
- SEC: Accessing EDGAR Data — accession identity and post-acceptance records.
- SEC: Webmaster Frequently Asked Questions — timestamp meanings and availability boundary.
- SEC: Financial Statement Data Sets — extraction scope and limitations.
- XBRL International: Handling Duplicate Facts — precision and duplicate distinctions.
Method: DN XBRL Accession Selector v1.0.0. Primary documentation review plus authored fixtures and local known-answer checks. No live issuer experiment, independent replication, full XBRL validation, paid data feed or trading account test is claimed. The 2027 date identifies the planning edition.
Commercial disclosure: this article contains no third-party referral recommendation. DN Research Desk is a DN-owned paid service; commissioning work does not determine this method’s results. Educational research does not establish investment suitability, accounting compliance or legal rights. Send source-backed corrections to the DN editorial desk.




