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.
- XBRL tagging for SEC filers comes from three rules in Regulation S-T (405, 406 and 407), not one single requirement.
- Tagging happens at different levels: cover page data, the face of the financial statements, whole footnotes as text blocks, and individual amounts inside footnotes.
- An XBRL error in the Inline XBRL document causes EDGAR to suspend the entire filing, not just the tagged part.
- Newer disclosure items, including cybersecurity incidents and executive compensation recovery, now carry their own tagging requirements on top of the financial statements.
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:
- Rule 405 requires the Interactive Data File itself: the tagged version of the financial statements, footnotes and schedules. Only financial statement content goes into it, each footnote amount tagged on its own rather than as one block of text.
- Rule 406 requires tagging the cover page of the filing (entity name, file number, shares outstanding and similar items) once the filer is required to submit in Inline XBRL format. This is filed as Exhibit 104.
- Rule 407 sets the scope: the tagged report must cover the complete set of financial statements, including every footnote and the Article 12 schedules of Regulation S-X. A filer cannot tag only the face statements and skip the notes, and cannot tag a partial set that leaves out prior period comparatives.
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.
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.
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:
| Level | What gets tagged | Example |
|---|---|---|
| Cover page | Entity and document identifiers under Rule 406 | Entity name, file number, shares outstanding |
| Face financials | Every line on the primary statements | Revenue, cost of goods sold, each balance sheet line |
| Block (footnote) tagging | An entire footnote wrapped in one text block tag | The full text of a segment reporting note |
| Detail tagging | Individual amounts and facts inside a footnote | A 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:
- 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.
- 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.
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.
For information only, not investment advice. Data from public SEC filings; verify important figures on SEC.gov. See our AI Disclosure.