SEC XBRL Data Notes

What I learned building a reconciler over every SEC filing — the parts that surprised me, written down while they were still surprising.

These are working notes rather than articles: each one starts from something that broke while I was building BalanceProof and works out why. Most of them are about XBRL, because XBRL is where the surprises are. A filing can report the same figure twenty-three times, all of them correct, and hand you the wrong one without raising anything.

The recurring theme is that bad financial data almost never looks bad. It arrives as a plausible number from a real filing, which is why every note here ends in a check you can run yourself rather than a claim you have to take. Where there is code, it is the code this site actually runs. Where there is a figure, it is counted live or it is not published: the methodology page shows what is checked and what is currently failing.