A dashboard reports a sharp fourth-quarter cash outflow. The calculation looks straightforward: take the annual cash flow and subtract the nine-month year-to-date figure. But the annual filing may include a correction to an earlier period. In that case, the subtraction puts the correction into the displayed Q4 number.
A derived quarter can still be useful. It needs its source filings and a label that distinguishes it from a separately reported quarter.
A small example
Suppose the Q3 filing reports nine-month operating cash flow of $120 million. The annual filing reports $150 million for the full year. Subtraction gives $30 million for Q4.
Now suppose a later comparative filing reports the same nine-month period at $110 million. Using that revised nine-month figure gives $40 million, provided the annual figure and the comparative figure are on a consistent basis. The $10 million difference is a revision to the input, not evidence that $10 million of cash moved in Q4.
These numbers are illustrative. A changed comparative figure is a reason to inspect the filing's explanation, not proof of a particular accounting error. A reclassification, correction, change in scope, or another presentation change can affect comparability. A later figure may also be unsuitable for the annual figure used in the calculation.
The SEC's EDGAR API documentation describes the company facts and submissions endpoints. The facts provide observations; the filing and its notes are needed to understand a revision. The accession number lets a reader trace each input back to its source filing.
Keep both versions
This Python example preserves the original calculation and creates a second candidate when a revised nine-month input arrives. It uses integer millions to keep the arithmetic visible; production code should retain the original units and precision.
from dataclasses import dataclass
@dataclass(frozen=True)
class Input:
value: int
accession: str
period: str
unit: str = "USD millions"
def derive_q4(annual: Input, nine_month: Input) -> dict:
if annual.unit != nine_month.unit:
raise ValueError("units differ")
return {
"value": annual.value - nine_month.value,
"unit": annual.unit,
"method": "annual_minus_nine_months",
"annual_accession": annual.accession,
"nine_month_accession": nine_month.accession,
"annual_period": annual.period,
"nine_month_period": nine_month.period,
}
annual = Input(150, "annual-accession", "FY")
original_9m = Input(120, "original-q3-accession", "9M")
revised_9m = Input(110, "later-comparative-accession", "9M")
original = derive_q4(annual, original_9m)
candidate = derive_q4(annual, revised_9m)
print(original["value"], candidate["value"])
# 30 40
The function only checks the unit. Before using it on real data, confirm that the inputs describe the same company, accounting concept, fiscal year, consolidation scope and currency. Compare the actual start and end dates; the FY and 9M labels above stand in for dates and do not enforce them. The nine-month period must be contained in the annual period and share its start. Annual and quarterly filings can have different contexts or use different concepts for superficially similar rows.
Store the original output even if you later decide the revised candidate is the better figure. A record can carry a review state such as comparative_changed, a link to the newer filing, and an explanation of the decision. Those fields are application conventions, not SEC-defined revision flags.
Decide what a chart is allowed to show
For a point-in-time backtest, use only filings available at the decision timestamp. A later comparative filing belongs in a later snapshot, even if it describes an older period. Otherwise a historical chart can quietly gain information that was unavailable at the time.
For a current research view, show the most appropriate consistent inputs and mark the Q4 value as derived. If the revised comparative and annual values cannot be reconciled to the same basis, keep the original calculation with a warning or leave Q4 unresolved. Avoid substituting the latest number automatically.
The earlier article on quarterly and year-to-date durations covers the subtraction itself. The extra work here is retaining the two input versions and explaining which one each chart uses.
Top comments (0)