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
13
votes
4 answers

How to import XBRL data to MySQL?

I am working on a project involving processing a large volume of XBRL documents (> 1m separate files). I am totally new to XBRL and feeling quite lost at the moment. I have data relating to those XBRL documents in a separate MySQL database and I…
11
votes
2 answers

xbrl us gaap contextRef standard?

Please tell me this is standardized, or at least there is some way to decipher it. I'm looking at these 3 random 10-Qs and Ks from…
user1382306
9
votes
2 answers

JAXB fails to generate Java classes for XBRL

I'm trying to generate Java classes for types defined in XBRL. My build process is based on Maven 2, and here are my trials. I only paste the build section, which relies on some properties: package is the name of my target package catalog is the…
rds
  • 26,253
  • 19
  • 107
  • 134
7
votes
5 answers

Generating XBRL document programmatically: Use a template or a library?

I am working on a financial application and one of the functionality is to generate XBRL (eXtensible Business Reporting Language) document. If you are familiar with XBRL instance documents, you might be aware that they typically refer to a large…
Venkat
  • 785
  • 3
  • 10
  • 22
6
votes
3 answers

Financial Statement API / XBRL

Was wondering, anyone know how to get data automatically from Edgar? (free or otherwise) I've looked into getting it from yahoo/google, but they consolidate information (like different revenue categories will be grouped into one revenue item). I've…
user1167650
  • 3,177
  • 11
  • 34
  • 46
6
votes
5 answers

Schema file does not exist in XBRL Parse file

I have downloaded a zip file containing around 200,000 html files from Companies House. Each file is in one of two formats: 1) inline XBRL format (.html file extension) or 2) XBRL format (.xml file extension). Looking at the most recent download…
B_Real
  • 177
  • 2
  • 12
6
votes
3 answers

XPTY0004: Required item type of first operand of '>' is numeric; supplied value has item type xs:string

The toComplie string contains all the definitions of the functions like sum, multiply, etc. appended by if ($a > 0) then (iaf:numeric-equal(iaf:numeric-multiply($b, $c), $d)) else (true()) The snippet executing this is : XQueryExecutable…
VijayD
  • 826
  • 1
  • 11
  • 33
6
votes
2 answers

International equivalents of the SEC's EDGAR (SEDAR in Canada) database?

Are there equivalents of the SEC's EDGAR (filing database) for European companies? Or any other region for that matter? For the UK I've found the "Companies…
Willem
  • 593
  • 1
  • 8
  • 25
6
votes
1 answer

getting XBRL data with Arelle

After looking over the documentation for arelle on their website, I found the answer. To retrieve the data you need, you can use arelleCmdLine to export a csv specifying relevant data with --factListCols followed by a string of desired data types…
James Beezho
  • 491
  • 4
  • 12
5
votes
2 answers

Mapping XBRL report instances to JSON

I'm looking to transform XBRL report instances, specifically financial reports such as those produced by the SEC, into Python dictionaries or JSON. I've spent time developing code using bs4 (beautiful soup), but ideally I'd like to leverage the…
Reza
  • 53
  • 5
5
votes
3 answers

Reading XBRL facts - Java

I need to get a few facts from SEC 10-K filings for e.g. gross revenue, gross profit, gross margin, operating expenses etc. along with the corresponding context. For filings like…
DebD
  • 373
  • 3
  • 20
5
votes
1 answer

How to Convert iXBRL to XBRL

We have already been using Dragon View XBRL Parser to read out Tables, paragraphs and other content from XBRL documents. Now that more companies are switching over to file/report their Financial documents in iXBRL instead of XBRL, we have to…
Shekar Gurram
  • 99
  • 1
  • 5
5
votes
3 answers

working with xbrl in .net

I want to create a xbrl report with .net, please let me know how to use it.
Zerotoinfinity
  • 6,290
  • 32
  • 130
  • 206
5
votes
0 answers

Arelle locate ratio extraction command that i cannot understand to find in docs(~2pages)

The basic command while we are working with Command Line Operation in Arelle is: python arelleCmdLine.py arguments provided we go with the cmd to the folder that arelle is installed. I have devoted huge resources but i cannot find if there is a…
ExoticBirdsMerchant
  • 1,466
  • 8
  • 28
  • 53
5
votes
1 answer

Xsd.exe generating unusable code with SubstitutionGroup/anytype

Ok. I'm trying to generate c# classes from: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (The xbrl schema basically). I am having problem with the tuple and the item. Here's what the xsd looks like:
Sleeper Smith
  • 3,212
  • 4
  • 28
  • 39
1
2 3
15 16