Blog / Financial statements
Financial statements

XBRL Tagging Requirements for SEC Filings, Explained Simply

Which SEC rules require XBRL tagging, what cover page, detail and block tagging each cover, and how to check a real filing's tags with an API call.

By the SecFeed teamDecember 1, 20268 min read
Key takeaways

XBRL tagging requirements are the SEC rules that say which parts of a filing must be marked up with machine readable tags, and how detailed that markup has to be. They come from three rules in Regulation S-T, not one single standard, and the level of detail required depends on whether you are tagging the cover page, the face of the financial statements, or the footnotes.

This guide breaks down what each rule actually requires, what the tagging levels mean, and how to see real tags from a filed report instead of reading about them in the abstract.

The three rules that create the requirement

Interactive data tagging for operating companies rests on three rules in Regulation S-T, added by the SEC's 2009 interactive data rulemaking and updated by the 2018 Inline XBRL rule:

None of the three rules let a filer substitute a summary. If a number appears in the financial statements, it needs a tag from the standard list of elements in the EDGAR Filer Manual, or a company-created extension when no standard tag fits.

Form type 12b-25 extensions do not cover interactive data. A filer that cannot finish tagging on time has to use the separate hardship exemptions in Regulation S-T, not a late filing notice.

Inline XBRL moved the tags into the document

Through 2018, companies filed two separate things: a human readable financial report and a standalone XBRL exhibit with the same numbers tagged. The SEC's Inline XBRL rule folded the tags directly into the HTML document filers already submit, so the tagged version and the as-filed version are the same file. Operating companies phased in between mid-2019 and 2021 by filer size, and the separate requirement to post XBRL on a company website was dropped once Inline XBRL applied.

Practically, this means the tags you see in an Inline XBRL filing today sit inside hidden <ix:*> elements wrapped around the visible text and numbers, rather than in a second file you have to cross reference against the report.

Get this data as clean JSON

SecFeed turns SEC filings into structured data with one API call: GET /v1/xbrl-to-json?accessionNo=0000320193-26-000020&cik=320193. Free key, no card needed.

Get a free API key →

What the tagging levels mean

The EDGAR Filer Manual and the SEC's structured data FAQs describe tagging in levels, from least to most granular:

LevelWhat gets taggedExample
Cover pageEntity and document identifiers under Rule 406Entity name, file number, shares outstanding
Face financialsEvery line on the primary statementsRevenue, cost of goods sold, each balance sheet line
Block (footnote) taggingAn entire footnote wrapped in one text block tagThe full text of a segment reporting note
Detail taggingIndividual amounts and facts inside a footnoteA specific dollar figure quoted inside that segment note

Block text content has to be well formed XML, which the FAQs note is a stricter bar than EDGAR's general HTML validation. The SEC's guidance places each text block under its own "Abstract" parent element in the tag structure, for example a segment disclosure abstract paired with the matching segment disclosure text block.

Dimensional tagging

Many facts are not single numbers but numbers that vary by a dimension, such as a class of stock, a reporting segment or a geography. XBRL handles this with axes and members rather than separate tags for every variant. A cover page fact like the security's title, for instance, can repeat with a StatementClassOfStockAxis dimension so the same tag covers common stock and any other listed security class without inventing a new element for each one.

What happens when tagging is wrong or late

Two consequences matter more than most explainers mention:

  1. A validation error suspends the whole filing, not just the tag. If the Inline XBRL primary document contains an XBRL error, EDGAR rejects the entire submission rather than accepting the readable document and flagging the tagging separately.
  2. A missed interactive data deadline makes the company's Exchange Act reports not current. That blocks use of short form registration statements (such as Form S-3 or S-8) until the filer catches up, which is a real cost for a company planning a stock offering or an equity compensation filing.

Tagging requirements keep expanding beyond the financial statements

XBRL tagging is no longer limited to the income statement and balance sheet. Several newer disclosure items carry their own tagging requirement on the cover page or within the body of the filing: material cybersecurity incidents reported on Form 8-K Item 1.05, insider trading policy disclosures, executive compensation recovery (clawback) policies, and the pay versus performance table now all require Inline XBRL tags on top of the core financial statement tagging under Rules 405 through 407.

If you only need the numbers and not the rulemaking, SecFeed's XBRL-to-JSON converter already applies every tag for you and returns each statement as plain JSON, in the order the filer presented it.

Seeing real tags on a real filing

The clearest way to understand what these rules produce is to look at an actual tagged filing. Apple's 10-Q for the quarter ended June 27, 2026 (accession 0000320193-26-000020) is a normal Inline XBRL filing subject to all three rules above. Pulling it through SecFeed's documented endpoint returns the underlying tags directly:

curl "https://secfeedapi.com/v1/xbrl-to-json?accessionNo=0000320193-26-000020&cik=320193" \
  -H "Authorization: Bearer YOUR_API_KEY"

The income statement section of the response shows exactly what "detail tagging" produces in practice: every line carries its own standard tag name, a unit reference and a decimals attribute that tells you the rounding:

{
  "StatementsOfIncome": {
    "RevenueFromContractWithCustomerExcludingAssessedTax": [
      {"value": "109417000000", "unitRef": "usd", "decimals": "-6"}
    ],
    "CostOfGoodsAndServicesSold": [
      {"value": "54647000000", "unitRef": "usd", "decimals": "-6"}
    ],
    "GrossProfit": [
      {"value": "54770000000", "unitRef": "usd", "decimals": "-6"}
    ]
  }
}

RevenueFromContractWithCustomerExcludingAssessedTax is the standard us-gaap element for revenue, not a company-specific label. decimals: -6 means the reported value is accurate to the nearest million dollars, which is how the tagged file preserves the precision the filer intended even though the number itself is written out in full. That level of specificity, repeated for every face statement line and every tagged footnote amount, is what "detail tagging requirements" actually means once you move past the rule names.

In Python, the same filing's tags are available without writing the JSON parsing yourself:

from secfeed import Client

sf = Client("YOUR_API_KEY")
filing = sf.xbrl_to_json(accession_no="0000320193-26-000020", cik="320193")
income = filing["StatementsOfIncome"]
for tag, facts in income.items():
    print(tag, facts[0]["value"], facts[0]["unitRef"])

For a single concept across many periods instead of a whole filing, SecFeed's company facts and company concept endpoints pull one tag's full reporting history by ticker or CIK, which is the faster path when you already know the element name you need.

Frequently asked questions

Do all SEC filers have to tag with XBRL?

Operating companies that file periodic reports (10-K, 10-Q) or certain registration statements on EDGAR are subject to Inline XBRL tagging once their phase-in date passed, which for all remaining operating companies was complete by mid-2021. Foreign private issuers reporting on Form 20-F or 40-F, and funds filing under their own XBRL regimes, follow separate phase-in schedules.

What is the difference between block tagging and detail tagging?

Block tagging wraps an entire footnote's text in one tag, so a reader gets the whole note but a system can at least identify where it starts and ends. Detail tagging goes further and tags the individual amounts and facts inside that footnote separately, so a specific number can be extracted without parsing the surrounding prose.

Does the SEC require anchoring custom tags to standard ones?

No. Anchoring a company-created extension tag to the closest standard element is optional for SEC filers, unlike the EU's Inline XBRL regime for annual reports, where anchoring is mandatory. A filer can create an extension tag when no standard element fits without anchoring it to anything.

What happens if my company's XBRL has an error?

If the error is in the Inline XBRL primary document, EDGAR suspends the entire submission, not only the tagged portion, until the error is fixed and the filing is resubmitted.

Where are the actual tagging rules written down?

The three core rules are 17 CFR 232.405, 232.406 and 232.407 (Regulation S-T), with implementation detail in the EDGAR Filer Manual Volume II and the SEC's structured data staff interpretations and FAQs. SEC filing requirements for domestic issuers covers how these tagging rules fit into the broader periodic reporting schedule.

Get this data as clean JSON

SecFeed turns SEC filings into structured data with one API call: GET /v1/xbrl-to-json?accessionNo=0000320193-26-000020&cik=320193. Free key, no card needed.

Get a free API key →

For information only, not investment advice. Data from public SEC filings; verify important figures on SEC.gov. See our AI Disclosure.