# Original Fundamental Accounting Data (Not Ratios)

Where do I get original fundamental accounting data from income statement, balance sheet and cash flow statement, like Sales/Revenue, Gross Income, EBIT, Operating Income, Cash & Short Term Investments, Total Accounts Receivable, Inventories, Cash Flows From Operations, Cash Flows From Investing, Cash Flow from Financing, etc.

 Something very important, I have forgotten. I also need the publishing date of the accounting data (which is different from the reporting as of date!), because I want to run a predictive statistical model on it (will otherwise produce an error of future input data). Maybe I have to source the publishing date from another website, in case I cannot get everything out of one hand, maybe also by webscraping from HTML. [/edit]

You can pull Financial Statement (Income Statement, Balance Sheet, and Statement of Cash Flows) data from Google Finance with the getFinancials function in the quantmod R package.

> library(quantmod)
> getFinancials('IBM')
Annual Income Statement for IBM
2014-12-31 2013-12-31 2012-12-31
Revenue                                     92793      98367     102874
Other Revenue, Total                           NA         NA         NA
Total Revenue                               92793      98367     102874
Cost of Revenue, Total                      46386      49683      52513
Gross Profit                                46407      48684      50361
Selling/General/Admin. Expenses, Total      21385      22214      23463
2011-12-31
Revenue                                    106916
Other Revenue, Total                           NA
Total Revenue                              106916
Cost of Revenue, Total                      56778
Gross Profit                                50138


From the quantmod documentation:

"viewFinancials(x, type=c('BS','IS','CF'), period=c('A','Q'), subset = NULL)"

the type is for Balance Sheet, Income Statement, and Statement of Cash Flows, and period is Annual or Quarterly.

Just found this: