Monday, May 20, 2019 at 10:28 AM #139902
I am a beginner with xbrl and so far I am doing some work with the xbrl instance documents from SEC. However, I have come across some something that is quite confusing. What is the major difference between xbrl and xbrli especially when used as root elements in the instance xbrl document?
Here are two separate scenarios:
<xbrli:xbrl xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xlink=”http://www.w3.org/1999/xlink”…>. </xbrli:xbrl>
<xbrl xmlns:utr=”http://www.xbrl.org/2009/utr” xmlns:iso4217=”http://www.xbrl.org/2003/iso4217″…>…</xbrl>
I have searched for answers regarding this and all I can get are contradicting replies.
I appreciate any help in helping me better understand this.
Tuesday, May 21, 2019 at 5:08 PM #140130
An instance document is a collection of facts that together make up a business report. At a technical level an instance document is an XML document with a root element of <xbrli:xbrl … >. See https://specifications.xbrl.org/xbrl-essentials.html
Please post a URL where the second reference exists; I’m not entirely clear about the context for usage.
Wednesday, May 22, 2019 at 1:43 AM #140153
Thanks a lot David for the clarification.
Here is a link where I found the second scenario as stated in my post.
Wednesday, May 22, 2019 at 3:44 PM #140242
Larry – thanks for the clarification as I misunderstood and thought there was a single instance where these two declarations were made (I read too fast and missed your ‘Here are two separate scenarios.’)
In this second example, the <xbrl> element is used instead of <xbrli:xbrl> – as far as I know, it provides the same necessary function as a container element for the instance and location that allows declaration of namespaces necessary to the file. See http://www.xbrl.org/Specification/XBRL-2.1/REC-2003-12-31/XBRL-2.1-REC-2003-12-31+corrected-errata-2013-02-20.html#_4.1
Thursday, May 23, 2019 at 2:09 AM #140298
this is quite clearer. Since both <xbrli:xbrl> and <xbrl> provide a container within which declaration of namespaces is done, what does the prefix in the first case “xbrli” mean? Just like:
xbrl – Extensible Business Reporting Language, what does the “i” in “xbrli” represent sir? That’s if it is also an acronym anyway.
Thursday, May 23, 2019 at 6:50 AM #140317
xbrli = instance, which is the collection of facts in a report.
Friday, May 24, 2019 at 4:38 AM #140410
You must be logged in to reply to this topic.
XBRL API Resources
- The XBRL API
- XBRL Data Community
- XBRL API Documentation (PDF)
- Get Data with Google Sheets
- Sample Queries (Insomina REST client) - requires account provision
Using the XBRL API with the Public Filings Database
Unless otherwise agreed to in writing, any and all use of the XBRL API to authenticate and retrieve data from the XBRL US Database of Public Filings implies user consent and agreement with the XBRL US API Agreement. If you are unable to agree to these terms, do not use the XBRL API.
Ready to work with the API in Excel's Power Query, or with your own system or app?
Contact us at firstname.lastname@example.org to have your existing XBRL US Web account provisioned to generate client ID/Secret pairs to work with the XBRL API in a REST client or other application, including Excel's Power Query.
NOTE: You do not need to generate client ID/Secret pairs if you use the Google Add-on and Google Sheet exclusively to access data - the XBRL API Authentication Add-on handles this automatically.
Your account needs to be provisioned before you can login and generate client ID/secret pairs.
Login or register for a free account.
Join XBRL US
- Individual Options - Basic, Power User & Sole Practitioner
- For Your Team - Startup, Non-Profit, Academic & Corporate options
- Member Benefits Comparison Table