Every quarter, someone in FP&A builds a peer benchmark. They pull revenue and margins from five competitors' filings, paste them into a spreadsheet, and send it around. Then corporate development builds their own, investor relations builds a third, and the three disagree, because one used a restated number, one compared a quarter that ended in September with one that ended in October, and one missed that a peer reports revenue under a different tag.
The SEC's XBRL data makes this faster, if you know where it trips up. An AI connected to SEC EDGAR can pull the same metrics for every peer, show the tag and period behind each number, flag the mismatches and link everything to its filing. Checking the flags and drawing conclusions stay with the finance team.
Here's who does what, three prompts, and how a medical device company builds one peer pack for everyone.
This is a research workflow, not investment advice.
Who does what
Who does what
Where XBRL benchmarks trip up
The SEC's XBRL APIs are free and cover every public company, with a few catches:
- Different tags, same idea. Peers can report revenue under different standard tags. Map them, and show which.
- Custom tags are left out. Numbers a company tags its own way, and segment figures, need the filing itself.
- Restatements replace originals in cross-company data. It shows the latest filed value; company facts keep earlier ones.
- Calendars differ. A quarter ending 26 September is compared with calendar Q3. Show the dates.
Start with EDGAR's own tools
EDGAR shows every filing, and the SEC's company facts and frames data give each company's tagged numbers over time and across companies. Deadlines tell you when to expect them: 10-Q filings come 40 or 45 days after quarter end.
What's left is one benchmark, with its flags, shared by everyone who needs it.
Do it in Claude or ChatGPT
Connect SEC EDGAR with our guide to SEC EDGAR in Claude, ChatGPT and MCP. All three prompts only read.
Pull the numbers.
Using SEC EDGAR, for [peers], get revenue, gross profit, operating income and R&D expense for the last 8 quarters from XBRL. For each value, give the tag used, the period dates and a link to the filing.
Copy promptFlag the mismatches.
Flag values where a peer used a different tag from the others, where a number was restated, or where a fiscal quarter doesn't line up with the calendar quarter.
Copy promptWhat they said about the outlook.
Summarize what each peer said about its outlook in its latest earnings release, filed with an 8-K, with short quotes and links.
Copy promptA few things to know:
- One peer set. Agree it once, and change it on purpose.
- Link every number. If someone asks where a figure came from, the answer is one click.
- Show the tag and the dates. They explain most surprises.
- Check restatements against the notes. The filing explains why.
When three teams benchmark the same peers
On your own, you'd build the benchmark you need. In a company, Harlow's FP&A team, Lennox in corporate development and Arden in investor relations all need the same comparison, and each used to build their own.
Corvane Medical, a 600-person medical device company in Minneapolis, keeps one peer benchmark in BlueNexus. SEC EDGAR is connected. Every Monday at 08:00, the filings agent checks for new 10-Q and 10-K filings from the five peers, refreshes the benchmark from XBRL data, flags tag, period and restatement issues, and prepares it for Harlow, the VP of FP&A.
Illustration of the BlueNexus app with example data.
Illustration of the BlueNexus app with example data.
All five peers have filed for Q3. One uses a different revenue tag, one restated Q2, and one's quarter ended four days early. The agent prepares the next steps for Harlow.
Harlow approves. Shea confirms Sorrel's restatement came from a revenue recognition correction, noted in the 10-Q. Lennox and Arden work from the same pack for the rest of the quarter.
For Harlow, the VP of FP&A. From SEC EDGAR. Nothing is posted until Harlow approves it.
- Post the Q3 peer pack in the FP&A channelEvery value linked to its filing, with the three flags
- Create a task for Shea to confirm Sorrel's restated Q2In the FP&A project, against the 10-Q's notes
- Share the pack with Lennox and ArdenIn the strategy channel
- Pick the charts for the board deckLeft unticked: Harlow decides
Illustration of the BlueNexus app with example data.
For connecting SEC EDGAR, see SEC EDGAR in Claude, ChatGPT and MCP. For filings, see how to find what changed in a 10-K's risk factors. To benchmark peers with your team, sign up for BlueNexus.