Skip to content

mick26/XBRL-Node-Parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using NodeJS to parse XBRL file

XBRL (eXtensible Business Reporting Language) is a computer readable XML based language designed to enhance the communication and analysis of financial data. It enables the electronic tagging of financial data allowing the data to be identified in terms of standard accounting or tax concepts.

iXBRL or Inline XBRL, is a more recent version of the language which allows human-friendly presentation of XBRL documents. An iXBRL report can be viewed like a web page and the XBRL can be extracted if the recipient wants to use the tagged data. iXBRL is the format of XBRL being adopted in the UK and Ireland for tax reporting purposes [1].

App Functionality

This App uses a XBRL file stored on the SEC's EDGAR system. The file is a 10-Q quarterly report form submission by Amazon for the current year ending 31st December. The full path to the file is: https://www.sec.gov/Archives/edgar/data/1018724/000144530513002495/amzn-20130930.xml

NodeJS server using requestJS gets the XBRL file from a remote server using HTTP. CheerioJS enables the use of JQuery on the server and can also parse HTML and XML documents. Cheerio is used here to parse the XBRL document. The results of the parsing are then simply logged to the console.

Main Technologies Used

Running the App

  • clone the repository
  • npm install
  • node server.js

Screen Shots

Amazon 10-Q

Michael Cullen 2014

About

XBRL NodeJS Parser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published