Questions tagged [xbrl]

XBRL is the eXtensible Business Reporting Language. XBRL is an XML-based syntax for exchanging facts that carry their own context, and that are reported against taxonomies. Today, XBRL is mostly used for submitting financial reports to regulatory authorities.

XBRL is an XML-based standard developed and promoted by XBRL International Incorporated, a not-for-profit consortium of agencies and companies.

It extensively uses XML and related technologies such as XML Schema, XLink, XPath, XML namespaces in order to reduce the uncertainty around the transmission of financial information.

An XBRL taxonomy defines the list of items that can be reported, and their datatypes. Taxonomy linkbases provide additional information, such as the labels that should be displayed to users (label linkbase), references (reference linkbases), dimensions (definition linkbase), validation rules (calculation and formula linkbases).

An XBRL instance is a list of facts that conforms with one or more taxonomies.

XBRL is used most often in a use case of financial regulation. Financial reports are provided by regulated entities to a regulatory agency. These XBRL instances typically use a 'base taxonomy' that captures the concepts of an accounting framework, such as US GAAP or IFRS. In some regulatory reporting, companies also create extension taxonomies. These extension taxonomies provide additional accounting concepts that the company uses, but which are not provided in the base taxonomy.

Base taxonomies often contain thousands of concepts, and are maintained by the owners of the intellectual property of the framework they capture. In the case of US GAAP, this is the Financial Accounting Standards Board.

226 questions
4
votes
3 answers

Parse XBRL file with JS

I want to parse XBRL files such as this one thus I found this npm module that purports to be able to parse XBRL files. This is my implementation of the example code: var ParseXbrl = require('parse-xbrl'); ParseXbrl.parseStr('
BWP
  • 380
  • 1
  • 17
4
votes
1 answer

How to extract financial statements only from XBRL files using Arelle's Python API?

Somehow, with the broken documentation on Arelle's python API as of date, I managed to make the API work and successfully load an XBRL file. Anyways, my question is: How do I extract only the STATEMENTS from the XBRL file? Below is a screenshot…
ZeferiniX
  • 500
  • 5
  • 18
4
votes
3 answers

Differentiating XBRL, XML, CSV, and JSON

Currently I'm trying to differentiate between different serialized text formats. Mainly between XBRL, XML, CSV, and JSON. I would like to assume that, checking by steps, if we use a parser to parse an XBRL/XML and returns without any exception…
sincreadys
  • 53
  • 4
4
votes
1 answer

Using the XBRL package in R to organize financial statements into dataframes

I've been trying to isolate income statements, balance sheets, and cash flow data from the sec website using the XBRL package in R. Ideally, I would input the three into separate data frames with the hopes of exporting the data to a uniform product…
Alan Felix
  • 51
  • 1
  • 3
4
votes
2 answers

JAXB binding XBRL element does not work

I am trying to generate localised XBRL classes with JAXB in Eclipse, but I have been getting an error: [ERROR] Property "Title" is already defined. Use <jaxb:property> to resolve this conflict. line 145 of…
mruis
  • 125
  • 7
4
votes
1 answer

VBA Default Namespace Bug

I am trying to instantiate the Root node of a Dom document. However i am naming it xbrl and this name is in the default namespace which is xmlns="http://www.xbrl.org/2003/instance" According to a previous post-answer MSXML is buggy (answer of…
ExoticBirdsMerchant
  • 1,466
  • 8
  • 28
  • 53
3
votes
3 answers

.NET library for use with XBRL or XLINK

Does anyone know of a good .NET library I can use to process XBRL or XLINK documents?
Maurice
  • 27,582
  • 5
  • 49
  • 62
3
votes
2 answers

Where do I find exact links to SEC XBRL financial data in order to download them into R?

I would love to analyze balance sheets and income statements using R. I have come across package finstr. There is an example of downloading AAPL stock data using this link accessing the XBRL data. I would like to ask, how do I actually find out the…
jnpll
  • 31
  • 2
3
votes
2 answers

How to identify period end contexts in xbrl filings?

I am trying to find only the current period concepts and facts for the three main financial statements. The goal is to be able to iterate through filings of different companies in different periods. Using Ebay 2017 10-k as an example. For concepts…
Konstantin
  • 31
  • 2
3
votes
2 answers

Read multiple xml files in R and combine the data

I have a folder containing more than 1000 files with the extension (they are no real xml files though). I want to extract certain contents from these files automatically, so that a matrix or table is the end result (which I can use further in R for…
RobertHaa
  • 79
  • 2
  • 10
3
votes
1 answer

Try Catch not catching "error : unknown IO error" - I/O warning : failed to load external entity

The code underneath is part of a function. The getLatestFileName function gets a correct fileName (locally stored). The error is caused by the tryCatch expression: result <- try(xbrlDoAll...) Even though I tried to catch it with a try function and a…
Bala
  • 31
  • 3
3
votes
2 answers

Arelle Webserver - How to extract the income statement from an XBRL filing?

I am trying to extract financial statement information based on type of the statement. Let me explain to you in a little more details. I want to extract the income statement, balance sheet and cash flow statement from an XBRL instance – especially…
rbr
  • 51
  • 3
3
votes
0 answers

finstr - Unable to get statements

I am working with an XBRL document filed by an Indian company at India. The documents can be downloaded for a small fee from the Ministry of Corporate Affairs website. The xbrl_get_statements() function fails as shown below. # Get annual report XBRL…
cogitoergosum
  • 2,309
  • 4
  • 38
  • 62
3
votes
1 answer

How do I get started with analyzing XBRL in python?

How do i get started analyzing XBRL data? I've heard python-xbrl should have some problems, and I'm having difficulties finding documention and examples. I've heard that Arelle is supposed to be what you want to use. But I simple can't figure out…
MadsVJ
  • 678
  • 6
  • 19
3
votes
1 answer

Unable to marshal XBRL instance using JAXB

I'm trying to create a XBRL-instance by using JAXB. I could successfully create java models using xjc based on the xbrl-instance schema (http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd) When creating the java classes by using xjc I was…
nouseforaname
  • 309
  • 3
  • 11
1
2
3
15 16