Free Essay

Xbrl

In:

Submitted By muhakir
Words 17995
Pages 72
Version Version

1

XBRL in Plain English www.batavia–xbrl.com XBRL in Plain English
A SIMPLIFIED VIEW ON XBRL

WWW.BATAVIA-XBRL.COM

XBRL™ is a trademark of the American Institute of Certified Public Accountants (“AICPA’)

© 2006, 2007 Batavia XBRL BV all rights reserved Postal box 258, 2800 AG, Gouda Phone +31 182 686 816 • Telefax +31 182 686 206

The contents of this publication are protected by Dutch copyright law and international treaties. Unauthorized reproduction of this publication or any portion of it is strictly prohibited. While every precaution has been taken in the preparation of this book, the publisher and the author assume no responsibility for errors or omissions, or for damages resulting from the use of information contained in this book or from the use of programs and source code that may accompany it. In no event shall the publisher and the authors be liable for any loss of profit or any other commercial damage caused or alleged to be caused directly or indirectly by this book.

Version Revision Authors

: : :

1 1 Jos van der Heiden

Index
1 __________________________________________________________________ INTRODUCTION __________________________________________________________________ 1 ________________________________ 1 2 2 4 5
EXPECT ________________________________________________________________ _________________________________ 1.1 WHAT TO EXPECT _________________________________________________________________ XBRL________________________________ _______________________________________________________________ 1.2 INTRODUCING XBRL_______________________________________________________________ 1.2.1 Business Reporting_____________________________________________________________ 1.2.2 Extensible ____________________________________________________________________ 1.2.3 Language _____________________________________________________________________

2 2.1 2.2 3

__________________________________________________________________ WHAT IS XBRL? __________________________________________________________________ 6 ________________________________
TAXONOMY _____________________________________________________________ WHAT IS A TAXONOMY? _____________________________________________________________ 6 DOCUMENT ____________________________________________________ WHAT IS AN INSTANCE DOCUMENT? ____________________________________________________ 7

ANATOMY________________________________ _____________________________________________________________ TAXONOMY ANATOMY _____________________________________________________________ 9

3.1 TAXONOMY SCHEMA ______________________________________________________________ 10 ______________________________________________________________ 3.1.1 Concept definitions ____________________________________________________________ 10
3.1.1.1 Item data types _______________________________________________________________________ 10

3.1.2 Linkbase references ___________________________________________________________ 11 3.1.3 Roles and Arcroles ____________________________________________________________ 11 3.1.4 Example _____________________________________________________________________ 12 _____________________________________________________________________ 3.2 LINKBASE _____________________________________________________________________ 12 ________________________________ 3.2.1 Common characteristics________________________________________________________ 14
3.2.1.1 3.2.1.2 3.2.1.3 3.2.1.4 Arcs _________________________________________________________________________________ 14 Prohibiting and Overriding ______________________________________________________________ 14 Cycles _______________________________________________________________________________ 14 Roles ________________________________________________________________________________ 15

3.2.2
3.2.2.1 3.2.2.2 3.2.2.3 3.2.2.4 3.2.2.5

Type-specific characteristics ____________________________________________________ 15
Label Linkbase________________________________________________________________________ 15 Reference Linkbase ___________________________________________________________________ 16 Presentation Linkbase _________________________________________________________________ 16 Calculation Linkbase___________________________________________________________________ 17 Definition Linkbase ____________________________________________________________________ 17

4

TIME________________________________ ____________________________________________________________ AN INSTANCE IN TIME ____________________________________________________________ 18

__________________________________________________________ 4.1 THE XBRL ROOT ELEMENT __________________________________________________________ 18 ________________________________________________________________ ___________________________________ 4.2 REFERENCES ___________________________________________________________________ 19 4.2.1 Reference to taxonomy_________________________________________________________ 19 4.2.2 Linkbase References __________________________________________________________ 19 4.2.3 Role and Arcrole References ____________________________________________________ 19 ______________________________________________________________________ 4.3 CONTEXT______________________________________________________________________ 19 ________________________________

i

4.3.1 Context Entity ________________________________________________________________ 19 4.3.2 Context Period________________________________________________________________ 19 4.3.3 Context Scenario ______________________________________________________________ 19 ___________________________________________________________ 4.4 UNIT OF MEASUREMENT ___________________________________________________________ 20 4.5 ITEM FACTS ____________________________________________________________________ 20 ____________________________________________________________________ ________________________________ 4.5.1 Context Reference ____________________________________________________________ 20 4.5.2 Unit Reference _______________________________________________________________ 20 4.5.3 Precision or Decimals __________________________________________________________ 20 ___________________________________________________________________ 4.6 TUPLE FACTS ___________________________________________________________________ 20 ________________________________ OOTNOTES________________________________________________________________ ____________________________________ 4.7 FOOTNOTES____________________________________________________________________ 20 _____________________________________________________________________ 4.8 EQUALITY _____________________________________________________________________ 21 ________________________________ 5 DIMENSIONS ____________________________________________________ EXPLORING NEW DIMENSIONS ____________________________________________________ 22

NTRODUCTION________________________________________________________________ __________________________________ 5.1 INTRODUCTION__________________________________________________________________ 22 5.1.1 Dimensional Notions___________________________________________________________ 23 _________________________________________________________ 5.2 DIMENSIONAL TAXONOMIES_________________________________________________________ 24 5.2.1 Dimensions __________________________________________________________________ 24

5.2.1.1 5.2.1.2

Typed Dimension ______________________________________________________________________ 24 Explicit Dimension _____________________________________________________________________ 24

5.2.2 Domain-member relationships and inheritance _____________________________________ 25 5.2.3 Hypercubes __________________________________________________________________ 25 5.2.4 Relating Primary Items to Hypercubes ____________________________________________ 26 5.2.5 Dimensional Relationship Sets __________________________________________________ 26 ________________________________________________ 5.3 DIMENSIONS IN INSTANCE DOCUMENTS ________________________________________________ 27
5.3.1.1 5.3.1.2 TypedMember ________________________________________________________________________ 27 ExplicitMember _______________________________________________________________________ 27

5.3.2
5.3.2.1

Validation____________________________________________________________________ 28
Validation of primary item facts __________________________________________________________ 28

5.3.3 6

Dimensional Equality __________________________________________________________ 28

WATERS ____________________________________________________ A DIVE INTO THE XBRL WATERS ____________________________________________________ 29

___________________________________________________________ 6.1 DAY 1 – STARTING OUT ___________________________________________________________ 29 6.1.1 Taxonomy Schema Document ___________________________________________________ 29
6.1.1.1 6.1.1.2 6.1.1.3 6.1.1.4 Schema Root _________________________________________________________________________ 29 Importing the XBRL Instance Schema ____________________________________________________ 30 Concepts_____________________________________________________________________________ 30 Linkbase References __________________________________________________________________ 32

6.1.2
6.1.2.1 6.1.2.2 6.1.2.3

Label Linkbase _______________________________________________________________ 32
Locators _____________________________________________________________________________ 33 Labels _______________________________________________________________________________ 33 Label Arcs____________________________________________________________________________ 34

6.1.3
6.1.3.1 6.1.3.2

Presentation Linkbase _________________________________________________________ 34
Locators _____________________________________________________________________________ 34 Presentation Arcs _____________________________________________________________________ 35

6.1.4
6.1.4.1 6.1.4.2 6.1.4.3 6.1.4.4

Instance Document____________________________________________________________ 36
Taxonomy Schema Reference ___________________________________________________________ 36 Contexts _____________________________________________________________________________ 36 Units ________________________________________________________________________________ 37 Facts ________________________________________________________________________________ 37

6.1.5 We proudly present to you: our instance document__________________________________ 38 ________________________________________________ 6.2 DAY 2 – REFINING OUR INITIAL EFFORTS ________________________________________________ 39 6.2.1 Setting up sections ____________________________________________________________ 39
6.2.1.1 Custom Roles_________________________________________________________________________ 39

ii

6.2.1.2 6.2.1.3 6.2.1.4

Abstract Root Concepts ________________________________________________________________ 40 Separate PresentationLinks _____________________________________________________________ 40 Let's have Another Look ________________________________________________________________ 42

6.2.2
6.2.2.1 6.2.2.2 6.2.2.3 6.2.2.4 6.2.2.5

Back to the drawing board ______________________________________________________ 43
Custom Roles_________________________________________________________________________ 43 Abstract Concepts _____________________________________________________________________ 43 Labels _______________________________________________________________________________ 43 Multilevel PresentationLink _____________________________________________________________ 44 Look at that!__________________________________________________________________________ 45

6.2.3
6.2.3.1 6.2.3.2 6.2.3.3 6.2.3.4

Sections revisited _____________________________________________________________ 45
Custom Roles_________________________________________________________________________ 45 Abstract Concepts _____________________________________________________________________ 45 Presentation Hierarchy _________________________________________________________________ 45 One Last Look Today___________________________________________________________________ 47

____________________________________________________________ 6.3 DAY 3 – COUNT ON IT! ____________________________________________________________ 47 6.3.1 Taxonomy Schema ____________________________________________________________ 47
6.3.1.1 6.3.1.2 Linkbase Reference ___________________________________________________________________ 47 Custom Roles_________________________________________________________________________ 48

6.3.2
6.3.2.1 6.3.2.2 6.3.2.3 6.3.2.4

Calculation Linkbase __________________________________________________________ 48
Custom Role References _______________________________________________________________ 48 Calculation Link _______________________________________________________________________ 49 Locators _____________________________________________________________________________ 49 Calculation Arcs _______________________________________________________________________ 49

6.3.3
6.3.3.1

What's the grand total? ________________________________________________________ 50
Correction____________________________________________________________________________ 51

__________________________________________________ 6.4 DAY 4 – HOW TO MAKE LIFE EASIER __________________________________________________ 51 6.4.1 Structural Changes ____________________________________________________________ 52 6.4.2 So What Does It Look Like? _____________________________________________________ 54 ________________________________________________ 6.5 DAY 5 – OPENING UP NEW DIMENSIONS________________________________________________ 55 6.5.1 The Primary Concepts__________________________________________________________ 55 6.5.2 A Template Taxonomy__________________________________________________________ 55 6.5.3 A Typical Dimension ___________________________________________________________ 56 6.5.4 Watch out: Explicit Language! ___________________________________________________ 56 6.5.5 What’s the Hype? _____________________________________________________________ 58 6.5.6 Presenting in dimensions _______________________________________________________ 59 6.5.7 Dimensional instance __________________________________________________________ 59 6.5.8 Our first peek in another dimension ______________________________________________ 63 IMENSIONS _____________________________________________ 6.6 DAY 6 – ENTERING MULTIPLE DIMENSIONS _____________________________________________ 64 6.6.1 Definition Linkbase ____________________________________________________________ 64 6.6.2 Instance document ____________________________________________________________ 65 6.6.3 When in doubt, use a Default____________________________________________________ 66 6.6.4 Never Ask A Lady About Her Age _________________________________________________ 66 ________________________________________________________________ ___________________________________ 6.7 CONCLUSION ___________________________________________________________________ 68

iii

Introduction

i
1 Introduction
This chapter introduces this book and the main concepts from XBRL.

1.1 What to expect
If you start reading this book, you probably have already heard of a ‘new’ way to do business reporting called XBRL™. If you’ve taken a look at the specification of the XBRL language you’ll know that it consists of a 158 page document full of formal definitions. Such a document is necessary to correctly define XBRL. Perhaps it is even relaxing bed-time reading material to mathematicians. But for us ‘normal’ people it is less so. For us ‘normal’ people, this book gives a ‘plain English summary’ of the XBRL specification. It should give you a good feel for what XBRL is and how it can be used. The book mainly focuses on the 'functionality' of XBRL as expressed by the specification. You will not learn every nitty-gritty detail by reading this book. If you need that level of detail, e.g. when you want to write your own XBRL validating software, you must still refer to the formal specification. But even then, this book will certainly serve as an introduction to the exciting world of XBRL.

You can recognize the cases where I did feel I needed to go into more detail by this 'nuts & bolts' icon.

I will also not discuss most of the underlying technical standards, such as XML, XML Schema, XLink, XPath, XPointer etc. If you don't feel comfortable with these technologies, please refer to the World Wide Web Consortium (W3C) website at www.w3c.org or any good book on XML.

This book is based on XBRL version 2.1 recommendation 2003-12-31 plus the corrected errata of 2005-04-25. Whenever this book and the official specification disagree, modesty requires me to assume I made a mistake and the authors of the specification got it right. I'd recommend you to make the same assumption.

Examples used in this book are indicated by this image.

1

1.2 Introducing XBRL
XBRL stands for ‘Extensible Business Reporting Language’ which pretty much defines what it is: a language for reporting x used in business. And that language is extensible. It’s easy, no? Well, perhaps it could bear a little bit more explanation. (note: within this chapter some XBRL related terms are introduced. They can be recognized by the bold face. Subsequent chapters will explain each term, so don’t worry about strange sounding words yet) Let’s jump right into the middle of it: …“Business Reporting”… B

1.2.1 Business Reporting
We all know there is a lot of reporting going on in business: • tax returns; • annual reports; • inter-departmental sales figures; • … Each report contains data, which is simply a number of ‘facts’ about that which is reported on, such as: • reporting period; • annual income; • number of customers; • number of sales; • inventory numbers; • … In the good old days, such reports were created by gathering all the relevant facts and having them typed on a pre-printed paper form. The typed up form was then sent to interested parties who could read the relevant facts from the form. This sounds cumbersome, and it is. But it gets even worse… Different parties tend to require data in different forms, but the underlying facts can easily be the same. This requires a reporter to gather those same facts into different aggregations for each form. XBRL tries to provide a way to improve creating, sharing and using data in business reports. It defines an electronic format for reporting, enabling computers to create, validate and process reports automatically. It also defines a way to provide a common definition of the meaning of the reported ‘business facts’. The reporter could simply make one report of the facts, leaving it up to the receiver of the report to select the relevant facts, combining them in any way that suits the receiver. The common definition ensures that each receiving party interprets the reported facts the same way. Another interesting aspect is the distinction between the pre-printed fields on a form and the typed-in facts. The pre-printed form is a ‘template’ that defines what needs to be reported. This layout will be defined once by the party receiving the report. The typed-in facts are the contents of a report, created each time a report is made. The XBRL standard also uses this distinction: • A definition of what needs to be or can be reported is described in a so-called taxonomy The taxonomy defines taxonomy. ‘concepts’ within the business realm on which can be reported. • An actual report is called an instance document This document contains the facts that are reported. A document document. refers to a taxonomy to give meaning to the facts. Within the document each fact is linked to its corresponding concept in the taxonomy.

2

This seems to be a good time to introduce an example I will be using throughout the book. It illustrates the concepts of XBRL and places the more technical / formal aspects in a practical context. The example consists of a pre-printed form and some handwritten reports. The pre-printed form looks like this:

FA001

-

Company demographics
: :

Company name Reporting period

-

Totals 1 Start of period 1.a Total number of employees 2 End of period 2.a Total number of employees Gender 3. Start of period 3.a Men 3.b Women 4. End of period 4.a Men 4.b Women Age 5. 5.a 5.b 5.c 6. 6.a 6.b 6.c Start of period .. - 20 21 - 40 41 - .. Start of period .. - 20 21 - 40 41 - ..

: :

: : : :

: : : : : :

The form can be uniquely identified by its identifier: FA001. The concepts asked to report upon are the company name, reporting period and number of employees at the start and end of the period. The reporter is also asked to split the number of employees between men and women and several age groups.

3

One handwritten report might look something like this:

FA001

-

Company demographics
: : Sample Inc. 01-0101-01-2005

Company name Reporting period

-

31-1231-12-2005

Totals 1 Start of period 1.a Total number of employees 2 End of period 2.a Total number of employees Gender 3. Start of period 3.a Men 3.b Women 4. End of period 4.a Men 4.b Women Age 5. 5.a 5.b 5.c 6. 6.a 6.b 6.c

: :

35 41

: :

23 12 27 15

: :

Start of period .. - 20 21 - 40 41 - .. Start of period .. - 20 21 - 40 41 - ..

: : :

5 23 7 9 21 11

: : :

As can be seen, the number of employees has increased, but the company employs at least one person with lacking calculus skills. In this simple example it might be unlikely that anyone would miscalculate 27+15 as 41, but in more complex forms such errors are highly likely when everything is done by hand.

1.2.2 Extensible
Another premise of XBRL is that it is extensible. Returning to the ‘good old days’, lets look at a scenario where extensibility would be useful: Suppose the European Community defines a reporting requirement for any business within the EC. a. Such a requirement would most likely be stated in English, but most companies would like to have a form in their own language, since translating business concepts tends to be very tricky. This would require separate versions of the same form in any language within the EC. b. Within some countries the government might already require part of the EC reporting, with some additions specific to the country. To avoid having to send and receive two forms with overlapping requirements, both forms might be combined into one country-specific form. This would again require additional versions of the same form. Again XBRL provides a way to support such requirements. The EC would create one taxonomy to define the reporting requirements. The translation from ‘technical’ concepts in the taxonomy to user readable ‘labels’ is contained in a so-called linkbase. presentation linkbase Each language within the EC could have its own linkbase or one linkbase might contain labels for each language. Note that the actual definition of concepts needs not be repeated in each language. A country wanting to extend the EC taxonomy would simply create its own taxonomy which would refer to the EC taxonomy for all common concepts. The countries’ taxonomy needs only to define the country-specific concepts.

4

1.2.3 Language
The ‘L’ in XBRL stands for Language. The XBRL language provides a way to express taxonomies and instance documents in one unambiguous format, which is a requirement to enable computers to handle documents. The XBRL language is based on a number of ‘world standards’ such as XML and related specifications. The following chapters will explore this language in more detail.

5

First Steps

1
2 What is XBRL?
Before diving into the XBRL specification itself, this chapter briefly introduces XBRL. As explained in the previous chapter, XBRL is actually about two things: defining what can be reported and actually reporting business facts. You will be introduced to both parts of XBRL: Taxonomies and Instances.

2.1 What is a taxonomy?
Remember the example of a pre-printed form I introduced in the first chapter? Here it is again:

FA001

-

Company demographics
: :

Company name Reporting period

-

Totals 1 Start of period 1.a Total number of employees 2 End of period 2.a Total number of employees Gender 3. Start of period 3.a Men 3.b Women 4. End of period 4.a Men 4.b Women Age 5. 5.a 5.b 5.c 6. 6.a 6.b 6.c Start of period .. - 20 21 - 40 41 - .. Start of period .. - 20 21 - 40 41 - ..

: :

: : : :

: : : : : :

The form exactly defines what needs to be reported as a set of ‘entries’ in which a company can write facts. In a form, the text before each entry defines what needs to be reported in the entry. You might also see footnotes to give more detailed information on an entry (e.g. if and how to count freelance contractors and part-time employees) or references to legislation, common practice, reference manuals and such.

6

Similar to this, a taxonomy is a document that defines a set of concepts on which can be reported. The taxonomy gives meaning and structure to the concepts and provides additional information in a number of ways: a. Concepts have a type, e.g. “cash” would be monetary (numeric with a denomination), while “name” would be plain text; b. Concepts can have relationships with each other (e.g. calculations) and with documentation (e.g. reference material); c. There are two types of concept: • Item An item describes a single concept that can be reported on as an independently understood fact, e.g. “cash”, “number of employees”, … • Tuple A tuple is a ‘collection’ of other concepts (either item or tuple), grouping together related information that does'nt have enough meaning by itself, e.g. a “manager’ tuple could contain a “name” and a “title” item. If you need companies to fill out a report, you could give such a ‘template’ to a printing company, order 10.000 copies, and every year send out forms to each company that must report to you. Using XBRL you would simply direct each company to the taxonomy and ask to provide instance documents based on that taxonomy.

2.2 What is an instance document?
Let’s return to the example of a filled-in form as introduced in the first chapter:

FA001

-

Company demographics
: : Sample Inc. 01-0101-01-2005

Company name Reporting period

-

31-1231-12-2005

Totals 1 Start of period 1.a Total number of employees 2 End of period 2.a Total number of employees Gender 3. Start of period 3.a Men 3.b Women 4. End of period 4.a Men 4.b Women Age 5. 5.a 5.b 5.c 6. 6.a 6.b 6.c

: :

35 41

: :

23 12 27 15

: :

Start of period .. - 20 21 - 40 41 - .. Start of period .. - 20 21 - 40 41 - ..

: : :

5 23 7 9 21 11

: : :

As we saw in the previous section, a taxonomy basically defines the concepts on which can be reported, similar to the preprinted form template.

7

By writing the required information onto the entries of a form, a report is made that can be filed. To read and process the report, you don’t actually need the full template with all the explanatory text. Something like the following would be enough:

FA001 Sample Inc. 01-01-2005 – 31-12-2005 1a : 35 2a : 41 3a : 23 3b : 12 4a : 27 4b : 15 5a : 5 5b : 23 5c : 7 6a : 9 6b : 21 6c : 11

All you really need is some identification of the form and filer, the actual facts that are reported and for each fact an indication for which entry it is meant. This is exactly what an XBRL instance document contains: • A reference to the taxonom(y)(ies) on which the instance is based; • Context identification; • The facts, with references to the concepts in the taxonomy.

8

3 Taxonomy anatomy
This chapter with a title like an 60’s rockband song describes the structure of an XBRL taxonomy. The focus is on what can be done with taxonomies and less on how it is done technically. We'll leave that level of detail for another chapter. To start of: what we call a taxonomy is in reality usually a whole set of related documents called the Discoverable Taxonomy Set or DTS for short. The starting point of a DTS is a taxonomy schema document. This is the taxonomy that an instance document references. This schema document can reference other documents, that can in turn reference other documents, and so forth. Discovering the taxonomy set means traversing each reference until all referenced documents are found A taxonomy can reference two types of documents: • Other taxonomies This is the case when a taxonomy extends another taxonomy Linkbases • Linkbase documents are used to provide additional information about the concepts defined in the taxonomy. A Linkbase describes the relationships between concepts and other concepts and documentation. There are five different kinds of linkbase documents (each kind is discussed later on): o Definition o Calculation o Presentation o Label o Reference Schematically an example of this can be visualized as follows: Definition Linkbase Base Taxonomy Schema Calculation Linkbase

Reference Linkbase

Extended Taxonomy Schema

Presentation Linkbase

Label Linkbase

Note that some linkbases (Reference and Label) are 'uni-directional', i.e. there is only a link from the taxonomy to resources in the linkbase. Other linkbases (Definition, Calculation and Presentation) are 'bi-directional'. The links point from one part of the taxonomy to another part. If needed, a taxonomy must also refer to (or rather import) the XBRL instance schema, "xbrl-instance-2003-12-31.xsd", which defines all base elements needed to define concepts. This is one of those nitty-gritty details I'll be ignoring for most part in this book. I'll just assume that e.g. a taxonomy schema exists in a context, in this case the XBRL instance schema, and focus only on the more 'functional' aspects of XBRL. The remainder of this chapter will describe each type of document in a little more detail.

9

3.1 Taxonomy Schema
The core of a taxonomy is its schema, which is a required document. This schema we're talking about is actually an 'XML Schema', a W3C standard 'language' in which the structure of XML documents can be defined. The XBRL specification takes XML Schema as the base language to define taxonomies. On top of this base language the XBRL specification defines set of XBRL specific additions and limitations. Within the schema it is possible to: • import another 'base' taxonomy, enabling creating extensions of existing taxonomies; • define concepts available for reporting; • define custom roles used in linkbases; • refer to linkbases.

3.1.1 Concept definitions
The XBRL specification states a number of requirements and recommendations on concept definitions: • Each concept must have a unique name within the taxonomy schema; • A concept must have a type attribute that specifies what kind of data can be reported on (see below); • Concepts in a taxonomy schema are defined as either an item or a tuple; This means that each concept must be in substitution group xbrli:item or xbrli:tuple.



It is recommended to give each concept a unique id attribute. This makes referring to the concept easier.

The XML Schema language allows for a number of ways to enhance the concept definition: • It is possible to specify if a concept is mandatory or optional. • Concepts can be defined to be 'abstract', which means you can not directly report on such a concept in an instance document. This is usefull when extending concepts, as explained below, or when a root of a presentation hierarchy is needed. In addition, XBRL defines two attributes for concepts: periodType and balance. • The periodType attribute is required for items. It allows you to distinguish between concepts that are measurable at an instant in time and concepts that measure change over a period of time. Within an instance document, facts are reported in a 'context'. The periodType attribute of the concept for which a fact is reported must correspond to the period type of the context for a fact. • If the type of a concept is monetary, the balance attribute may be used to specify if the concept defines a credit or debit value. This is usefull for accounting concepts such as asset, liability, revenue and expense.

Concepts can be extended, creating a structured 'tree' of concepts. An example would be the general concept "manager" which could be extended as "business unit manager" and "division manager". Since only non-abstract concepts may be reported on in an instance document, it is possible to prevent reporting of ambiguous facts. In the example above, it might not be allowed to ambiguously report "manager" facts, but only the more specific "business unit manager" or "division manager". Making the "manager" concept abstract would accomplish this. 3.1.1.1 ITEM DATA TYP ES All item concepts must specify their data type. The types available are provided by the XML Schema language and the XBRL specification. The types provided by XML Schema include boolean, text, decimal, date (-parts), etc. (see the XBRL specification section 5.1.1.3 for a full listing). Note: each type from XML Schema has a corresponding XBRL type definition.

10

The XBRL specification adds four additional types: • monetary This type must be used for concepts that represent monetary values. • shares Share-based concepts must use this type. • pure Concepts that represent measures where an implicit numerator and denominator is expressed in the same unit, such as growth rates, percentages, … • fractions When the value of a fact cannot be represented exactly using any of the other types, e.g. 1/3 doesn’t have an exact decimal representation, it can be reported as a fraction type. Fractions are given as separate numerator and denominator elements.

3.1.2 Linkbase references
The Taxonomy schema may, and usually does, contain references to Linkbases that provide additional information on the concepts in the taxonomy. The reference may indicate the kind of links contained in the linkbase by defining a ‘role’ for the linkbase. The possible roles defined by the XBRL specification are: • Definition • Calculation • Presentation • Label • Reference • Footnote Note: Footnotes are not contained in separate linkbases. The role is used only within instance documents. It is also possible to define custom roles, which is another example of the extensibility of the XBRL specification. To restrict the use of a linkbase even more, it is possible to define the type of facts that the links in the referred Linkbase may be used on.

3.1.3 Roles and Arcroles
Within linkbases, roles are used to identify different types of links. One generic role is defined by the XBRL specification to ensure all links have a role. Mostly though, the author of a taxonomy / linkbase will provide custom roles. Such roles are used to group relationships into so-called base sets. This segmentation of relations can be useful to e.g. identify different sections in a report when used in presentation linkbases. In calculation linkbases they are needed for any but the most simple calculations to ensure that calculations are not mixed up resulting in errors. The relationships (as defined by arcs) themselves are typed by arcroles, that identify the type of relationship. A fair amount of generic arcroles, such as 'concept-label' and 'summation-item' are predefined by the XBRL specification. It is possible to define custom arcroles as well. But the purpose here is usually a technical one, e.g. to define new relationships in an extension on the XBRL specification. An example of this are the arcroles defined in the XBRL Dimensions specification discussed in chapter 5.

11

3.1.4 Example

Returning to the example ‘taxonomy’:

FA001

-

Company demographics
: :

Company name Reporting period

-

Totals 1 Start of period 1.a Total number of employees 2 End of period 2.a Total number of employees Gender 3. Start of period 3.a Men 3.b Women 4. End of period 4.a Men 4.b Women Age 5. 5.a 5.b 5.c 6. 6.a 6.b 6.c Start of period .. - 20 21 - 40 41 - .. Start of period .. - 20 21 - 40 41 - ..

: :

: : : :

: : : : : :

We could loosly ‘define’ the following concepts: name type nr_employees_total non-negative integer item nr_employees_male non-negative integer item nr_employees_female non-negative integer item nr_employees_age_up_to_20 non-negative integer item nr_employees_age_21_to_40 non-negative integer item nr_employees_age_41_and_up non-negative integer item We'll elaborate on those concepts in the following section on Linkbases.

3.2 Linkbase
The concepts defined in a Taxonomy schema provide the ‘bare building blocks’ of the Taxonomy. They provide an exact listing what kinds of facts could be reported on. Linkbases extend this definition in several ways: • Elaborating on the definition with additional documentation, e.g. by giving a human readable label or a reference to literature. • Describing the structure of concepts with inter-concept relationships, e.g. by defining calculation rules between concepts.

12

Let’s first look at some possible linkbases for the example ‘taxonomy’, to get a feeling for what they are. Note: the 'linkbases' given below are not complete or correct. They are meant illustrative only. Label Linkbase A label linkbase could assign an English label to each concept, as used on the form: Concept Label nr_employees_total Total nr_employees_male Men nr_employees_female Women Another label linkbase could be used to assign Dutch labels to each concept: Concept Label nr_employees_total Totaal nr_employees_male Mannen nr_employees_female Vrouwen Note: this example of a Label linkbase is not entirely correct. We will return to it later in the chapter. Definition Linkbase The definitions of the concepts provide different kinds of information. One definition might be that certain concepts require others: Concept Requires nr_employees_male nr_employees_female nr_employees_female nr_employees_male If you specify either a male or female count, you must specify the other one as well. If a ‘nr_employees’ concept were defined, the definition linkbase could specify that concept as the ‘essence’ of all other nr_employees_xxx concepts: Essence Alias nr_employees nr_employees_total nr_employees nr_employees_male nr_employees nr_employees_female CalculationLinkbase A calculation linkbase might define the following rule: • nr_employees_male + nr_employees_female = nr_employees_total. Such a rule would automatically catch the arithmetic mistake in our example filled in form. Reference Linkbase Suppose that the taxonomy describes a report which is required by law. The exact definition of what to report would be stated in that law, e.g. how to report on part-time employees. Concept Reference nr_employees_total Common Law; book IV; 156-32;b nr_employees_male Common Law; book IV; 156-32;b nr_employees_female Common Law; book IV; 156-32;b Note: this would be expressed as a 'many-to-one' relationship, as discussed below. Presentation Linkbase The presentation linkbase describes how the concepts could be hierarchically presented in a report form. Our example could define the following hierarchy: Concept Children abstract_group nr_employees_total nr_employees_male nr_employees_female

13

3.2.1 Common characteristics
When you start looking at linkbases, you will see that they share a lot of common characteristics. The characteristics that are specific to each type of linkbase are described in the next section. 3.2.1.1 ARCS All types of Linkbase use ‘arcs to describe the relationships between concepts and resources or other concepts. arcs’ arcs An arc is a two-sided, 'directional' relationship, which means the arc points 'from' one side 'to' the other side. Both the 'from' and the 'to' side of an arc may consists of one or more concept(s) and resources. In our example of a reference linkbase, we could use a many-to-one arc like this to link all three concepts to the same reference: Taxonomy Schema nr_emp_men nr_emp_women nr_emp_total Reference Linkbase Common Law; book IV; 156-32;b

The to and from attributes of an arc can be resources included in the extended link or locators in the extended link that point to concepts and resources in other documents. A locator points to the concept or resource with a href attribute that may contain either an id of the pointed to concept or an XPointer expression that locates the concept or resource.

3.2.1.2 PROHIBITING AND OVERRIDING When a taxonomy is extended, it may be needed to change the existing relationships between concepts. There are two mechanisms for this: prohibiting and overriding. overriding A arc may have a 'priority' attribute. When several arcs have a 'conflict', the one with the highest priority will prevail, in effect overriding the other arc(s). When an existing arc is no longer valid, you may add a prohibiting arc in your own linkbase with a higher priority than the existing arc. This will prohibit the existing arc. A prohibiting arc is one where the optional use attribute has the value ‘prohibit’. When applying the rules of overriding and prohibiting, the network of relationships that exists in the 'base' set is changed by the extensions. Based on priority, new relationships can be added, existing can be removed or existing relationships can be replaced by new relationships. The XBRL specification states that rules are applied to 'equivalent' relationships and it defines exactly when relationships are equivalent based on attributes of the arc and the 'from' and 'to' sides.

3.2.1.3 CYCLES Arcs form a network of relationships. The network may become very complex. A cycle within the network occurs when there are two or more paths from one node to another node. The taxonomy must specify which types of cycles, if any are allowed: • any When any cycle is allowed, there are no limits on the relationships. • undirected This confusingly named option allows for cycles as long as there is no path back to a node. For example, nodes A

14



and B may have many paths where the direction is from A to B, but there may not be paths with a direction from B back to A. none When no cycle is allowed, the network may have at most one path between any two nodes. This places a large restriction on the relationships.

Note: a path consists of a set of arcs between nodes. A path may be as short as one arc between two nodes, or as long as hundreds of arcs between hundreds of nodes. 3.2.1.4 ROLES Each link in a linkbase can have one of several roles. The role defines the usage of the link. The available roles depend on the type of linkbase as described in the next section. As said before, the XBRL specification provides a set of 'general purpose' roles for each type of linkbase. It is possible to define your own more specific roles to be used instead. Roles can be used on resources and on arcs between them.

3.2.2 Type-specific characteristics
Although the different linkbases look very similar in structure, there are of course also differences. This section describes the specific characteristics for each type of linkbase. 3.2.2.1 LABEL LINKBASE Labels provide human readable text in a specific language. Each resource must identify the language used in the label. Labels can have several roles: • label (this is the default role) Used for standard labels • terseLabel used for short labels where parts of the description that can be inferred are omitted. verboseLabel used for exteneded labels meant to give an exact description positiveLabel, positiveTerseLabel and positiveVerboseLabel labels (standard, terse or verbose) used when a numeric fact has a positive value negativeLabel, negativeTerseLabel and negativeVerboseLabel labels (standard, terse or verbose) used when a numeric fact has a negative value zeroLabel, zeroTerseLabel and zeroVerboseLabel labels (standard, terse or verbose) used when a numeric fact has a value of zero totalLabel used for labels on concepts that hold a total value periodStartLabel and periodEndLabel used for labels on concepts presenting values associated with the start or end of a period. documentation a label that provides documentation on a concept definitionGuidance, disclosureGuidance, presentationGuidance, measurementGuidance, commentaryGuidance and exampleGuidance for labels that give an explanation on an aspect of the concept such as it's definition, the way it should be measured or an example.

















Label arcs have the role 'concept-label' which signifies it is always used to point from a concept to a label. The arcs can therefore never describe cyclic relationships between concepts.

15

With this knowledge we could define a more complete label linkbase for some of the concepts in our example: Concept nr_employees_total nr_employees_male nr_employees_female nr_employees_total nr_employees_male nr_employees_female Language en en en nl nl nl Role totalLabel terseLabel terseLabel totalLabel terseLabel terseLabel Label Total Men Women Totaal Mannen Vrouwen

3.2.2.2 REFERENCE LINKBASE References provide a way to link the definitions of concepts to authoritative statements published in business, financial and accounting literature. The element should provide only that information needed to identify and find the relevant publication. It should never contain the actual content of the publication. References will be composed of parts, e.g. Common Law, book IV, article 342, part b. The generic XBRL 'part' element is abstract, since the way publications are divided into parts varies for each publication / jurisdiction. Again, the references can have several roles: • reference (this is the default) used for standard reference for a concept. • definitionRef used to reference a precise definition of a concept. disclosureRef, mandatoryDisclosureRef and recommendedDisclosureRef used to reference an explanation of the disclosure requirements. unspecifiedDisclosureRef used to reference an explanation of unspecified disclosure requirements, such as common practice, structural and completeness. presentationRef reference to an explanation of the presentation of a concept. measurementRef reference to the method for measuring values of the concept. commentaryRef used to reference any other general commentary on the concept. exampleRef reference to documentation that illustrates the usage of a concept by providing an example.













Referene arcs have the role 'concept-reference' which signifies it is always used to point from a concept to a reference. The arcs can therefore never describe cyclic relationships between concepts. 3.2.2.3 PRESENTATION LINKBASE Presentation arcs have the role 'parent-child', which allows for the definition of a hierarchical structure of concepts. Both the 'parent' and 'child' side of the relationship must point to concepts. When there is no concept that could naturally act as the root of a presentation hierarchy, it is possible to use an abstract concept defined specially for this purpose instead. The arc can have a 'preferredLabel' attribute that identifies the preferred label role to use when presenting the child in the relationship. This is particularly usefull when a concept is used several times in different ways within a DTS. Each presentation relationship could specify the appropriate label for that use of the concept. The order attribute of the arc can be used to define the order in which concepts should be presented.

16

3.2.2.4 CALCULATION LINKBASE Calculation arcs have the 'summation-item' role to represent aggregation relationships between concepts. The relationships point from one 'summation' concept to several contributing concepts. The arc relationship can only link item concepts. Only items that are 'equal' with respect to context and unit to the summation will contribute to the summation. Note: the relationships given by tuples also play a role here. It is for instance not possible to have items from duplicate tuples contributing to the same summation. The arc has a 'weight' attribute that is used as multiplication factor for the item. This allows for more complex calculation relationships than simple addition. During multiplication, the necessary rounding should be performed. The calculations within a DTS are all taken into account together. All calcluationLinks with the same role on the same summation concept will be added together. If there are several breakdowns of the same value in one report, each calculation of the total should be placed in a calculationLink with its own specific role. Otherwise the different breakdowns would be added together leading to a multiple of the total being compared to the total fact. An XBRL instance is consistent with the calculation linkbases if all calculations for the instance are consistent. This allows for automatic validation of a report with respect to the calculations. The options provided by the calculation linkbase are very limited. It is possible to make calculation that are more complex than simple summations, but that isn’t easy and evenso the limitations are severe. It is for example not possible to calculate the difference between facts for the same concept within different contexts, e.g. the end and start of a period. Currently another linkbase, the Formula Linkbase, is being designed. This will become available in the near future and is meant to provide more extensive functionality for defining calculation formulas. 3.2.2.5 DEFINITION LINKBASE The definition arc can have several roles, signifying differend kinds of relationships: • general-special This relationship is between item concepts only and identifies generalizations / specializations of concepts. The relationship can be thought of as 'is-a-kind-of', for example: "division manager" is a specialization of "manager". Note that any valid value for a specialization item is also valid as value for the generalization item. The other way around usually doesn’t hold. The network of general-special relationships may only contain 'undirected' cycles, as a specialization can never be its own generalization. • essence-alias This relationship can only be applied to item concepts. It is used when several 'similar' concepts are defined, identifying which is the 'best fit' or 'essence'. All other concepts are considered aliases of that essence concept. The alias and essence concepts must have the same item type, the same period type and the same value for the balance attribute (if it is available). The network of essence-alias relationships may only contain 'undirected' cycles, as an item can never be its own alias. • similar-tuples This relationship is between tuple concepts and is similar to the essence-alias role for item concepts. The relationship identifies tuples with equivalent definitions. An example would be a mailing address, which can take several formats, but holds equivalent data. requires-element This relationship between concepts (tuples or items) identifies requirements within an instance document. If a fact of the 'from' concept occurs in the instance document, then a fact of the 'to' concept must also occur in the document.



17

4 An instance in time
In this chapter we'll be looking at instance documents. Again, the focus is on the what instead of on the how how. An instance document contains the facts that comprise one report. The document refers to a taxonomy to lend meaning to the facts: Definition Linkbase Base Taxonomy Schema Calculation Linkbase

Instance document

Extended Taxonomy Schema

Presenation Linkbase

Label Linkbase DTS Facts can be either ‘simple’ item facts or compound tuple facts. All item facts within a document are reported in a context, e.g. the fiscal year or the start of a period. The document contains all available contexts for the report. Schematically the contents of an instance document could be shown as follows: Instance document context context

item fact

item fact

tuple fact

tuple fact

item fact

item fact

item fact

item fact

tuple fact

tuple fact

item fact

item fact

item fact

item fact

item fact

item fact

The following sections will describe the building blocks in some more detail.

4.1 The xbrl root element
An XBRL instance document contains different sorts of data: • References to one or more taxonomies • References to linkbases (optional) • References to (arc)roles (optional) • Context • Units • Facts (items and tuples) • Footnotes The single container for all of these is the xbrl root element that must be present in every instance document.

18

4.2 References
An instance document can contain several references to external resources.

4.2.1 Reference to taxonomy
The facts in the XBRL instance document are just random data without a taxonomy to give meaning to the facts. Each instance document must refer to at least one taxonomy. This reference should point to the taxonomy schema file.

4.2.2 Linkbase References
The author of an XBRL instance document can add references to linkbases that must become part of the DTS for the instance, together with the taxonom(y)(ies). This enables the author to provide additional information about the instance document. Examples of this are additional definitions or references on concepts, custom presentation information or custom labels. The way references are made from the instance document is identical to the way a taxonomy does this.

4.2.3 Role and Arcrole References
The XBRL instance may contain footnotes on the facts. If custom roles / arcroles are used for these footnotes, they should be referenced as well.

4.3 Context
To understand the facts reported in an instance document, they need to have a context. The context provided in XBRL contains the entity doing the reporting, the period on which is reported and optionally a ‘scenario’. A context must have an id attribute which is used to refer to the context from the items in the report.

4.3.1 Context Entity
The entity doing the reporting, i.e. the company, government department, individual, …, is described by the context entity element. The context entity contains an identifier that uniquely identifies the entity. This is done through providing a scheme and a ‘token’ that is a valied identifier in the namespace referenced by the scheme. Examples are the NASDAQ ticker symbol or an D-U-N-S® number. Optionally, the entity may also contain a ‘segment’ element to further specify which (part of an) entity is meant, e.g. a business unit within a company or a province within the state government. XBRL does not state anything on what the segment element and content should look like, other than that it is XML and may not contain XBRL elements.

4.3.2 Context Period
The period on which is reported can in fact be either an instance in time or an actual period. When reporting on a period, it can have an explicit beginning and ending, or simply be ‘forever’. Note: when no time is specified, the time is implied to be at midnight. For the start date that is midnight at the start of the day. For end dates, midnight is taken to be at the end of the day, eventhough technically it is at the start of the next day. Note: the end date must be after the start date.

4.3.3 Context Scenario
A report can have an optional scenario specified to indicate what type of facts are reported. Examples are actual, budgeted or restated figures. The scenario describes the circumstances surrounding the measurement of the facts. XBRL does not state anything on what the scenario element and content should look like, other than that it is XML and may not contain XBRL elements.

19

4.4 Unit of measurement
Numeric values must have a unit of measure to be able to interpret the value. Each unit used in an instance document must be provided as a unit element in the xbrl root element. The unit contains either a single measure element, a product of measures or a ratio thereof. Examples of units are EUR, meters, kilograms and square-feet. A unit must have an id attribute which is used to refer to from items in the instance document.

4.5 Item Facts
Items are the single fact or business measurement on which is reported. An item may not contain other items. For structure, tuples must be used. The content of the item may be either numeric or non-numeric. Apart from the actual content of the item, it also specifies additional data ….

4.5.1 Context Reference
Each item in the instance document must have a context which it refers to by id. The period type of the item, instant or duration, must correspond to the type of period designated by the context: • for instant items, the context must have an instance period • for duration items, the context must have a valid startDate – endDate pair or the value ‘forever’

4.5.2 Unit Reference
Numeric items must state the unit of measurement used for its value. The unit is referred to by its id.

4.5.3 Precision or Decimals
Numeric items must indicate the accuracy of the value by providing either a ‘precision‘ or a ‘decimals’ attribute. This accuracy is relevant when comparing values or performing calculations on values, especially when rounding or truncation must be done. The precision attribute states how many digits in the value are significant. The decimals attribute states to how many decimals the given value is accurate. The two options are complementary ways to describe the accuracy. It is not allowed to include both attributes for the same item. The precision of a value can be inferred when the decimals attribute is present. The XBRL specification gives exact rules on how to infer the precision. It also provides examples on how to ‘read’ the attribute.

4.6 Tuple Facts
Most business facts can be understood independently of each other. These are provided as items in the xbrl root element. When facts can only be understood in relation with each other, a tuple is used to combine the facts into related sets. An example would be the name and title of a manager. Tuples group together concepts, both items and tuples are allowed as children of a tuple. The tuple itself may not refer to a context or unit. It also may not have a period type or balance attribute.

4.7 Footnotes
Items are understood independently and tuples may provide some structure to items that can only be understood in relation with each other. Other, more irregularly structured, associations between facts and other relevant information are provided as footnotes. Footnotes are links that are always included directly in the instance document. The role used for this is ‘footnote’. A footnote contains text and must have a language attribute.

20

4.8 Equality
When comparing item or tuple facts, several forms of equality can be relevant: • Identity • Structure • Parent • Value XPATH • • Context • Unit The XBRL specification contains a large table that exactly specifies how each form of equality should be applied to different types of arguments, such as nodes, attributes, entities etc.

21

Modules Modules

2
5 Exploring New Dimensions
The chapters in part one have shown you what XBRL is and what can be done with it. But as you already know, XBRL is extensible. The second part of this book looks at such extension modules. The first one is the XBRL Dimensions specification described in this chapter. This chapter discusses the XBRL Dimensions version 1.0 specification, Candidate Recommendation dated 2006-06-19. At the time of writing this is still a candidate recommendation, but it is expected that the final version will not have any mayor surprises. As with the XBRL specification itself, this chapter highlights the specification and introduces the most important ideas to give you a solid basic understanding of XBRL Dimensions. For the nitty-gritty details you should read the specification.

5.1 Introduction
Facts that are reported can usually be categorized. Examples are: • Sales in various periods; • Sales by product line; • Sales by region; • Sales by department; • Number of employees by age; • Number of employees by gender; • … Two such categories are explicitely supported by the XBRL specification: period and entity (company, department, …). These categories are always included in the contexts within which facts are reported. It seems natural to want to extend this capability to enable taxonomy authors to specify their own categories, such as product line, gender, etc. This is exactly what the XBRL Dimensions specification does. Within this specification, categories are called dimensions. The ‘scenario’ and ‘segment’ parts of a context as specified by XBRL can have any valid XML content. The Dimensions specification defines a formalized way to use these parts to apply new dimensions (categories) to contexts.

22

The example we have been using is very well suited to a dimensional approach: We only need to define a ‘nr_employees’ concept and two dimensions: ‘gender’ with values {‘men’, ‘women’} and ‘age group’ with values {‘… – 20’, ’21 – 40’, ’41 – …’}. The instance document contains a set of contexts for each period / dimension combination and each fact refers to one such context: Context Fact 01-01-2005 nr_employees = 35 01-01-2005 + [men] nr_employees = 23 01-01-2005 + [women] nr_employees = 12 01-01-2005 + [… – 20] nr_employees = 5 01-01-2005 + [21 – 40] nr_employees = 23 01-01-2005 + [41 – …] nr_employees = 7 31-12-2005 nr_employees = 41 31-12-2005 + [men] nr_employees = 27 31-12-2005 + [women] nr_employees = 15 31-12-2005 + [… – 20] nr_employees = 9 31-12-2005 + [21 – 40] nr_employees = 21 31-12-2005 + [41 – …] nr_employees = 11

5.1.1 Dimensional Notions
The XBRL Dimensions specification uses a number of notions that are briefly introduced here and explained in some more detail in the following section. • Dimension A Dimension is basically a categorization of facts. A Dimension is specified in a Domain Members Taxonomy and its members can be used in the contexts of an instance document to categorize the reported facts. Domain & Domain Member The range of valid values for a Dimension is called its Domain. A Member of a Domain is one of these values. There are two types of members: typed and explicit. Typed members are defined by syntactic constraints, such as ‘integer numbers between 0 and 100’. Explicit members are item concepts that are explicitely identified as member of a dimensions domain. This will be an ‘enumeration’ of members, such as ‘men’ and ‘women’ for the ‘gender’ dimension. Hypercube Dimensions can be combined, e.g. sales by region by product line or number of employees by gender by age group. The set of possible values for such a combination of Dimensions can be visualized as points in a ‘dimensional’ space: o In one dimension the members form a section on a line; o With two dimensions the points form a square in a plane; o Three dimensions form a cube in space; o More dimensions cannot be easily visualized since we live in three-dimensional space. The ‘mathematical’ term for such forms is a ‘hypercube’ Primary Taxonomy This is the ‘normal’ taxonomy as specified by XBRL. It defines the concepts on which can be reported. The XBRL Dimensions specification takes great care in ensuring that no changes on the primary taxonomy are required. Domain Members Taxonomy The Dimensions and Dimension Members are defined as concepts in a ‘Domain Members Taxonomy’. Template Taxonomy The Template Taxonomy combines the Primary and Domain Members Taxonomies, specifying the structures of hypercubes and linking hypercubes to the primary item concepts they may be used on.











The specification defines three types of taxonomy. This distinction in three types is conceptual only. It is possible to use three separate taxonomies, but the specification doesn’t require separate taxonomies for each type. It is perfectly legal to combine types in one taxonomy. It is even possible for one concept to be used as primary item in one relationship and as e.g. a member item in another relationship.

23

5.2 Dimensional Taxonomies
This section explores the way taxonomies are extended to enable the specification of dimensions. I will start of with an Primary Taxonomy
Primary item Primary item Dimension Member

Domain Members Taxonomy
Member

Member

Template Taxonomy
Hypercube

Dimension Member

Hypercube

Dimension

Type

architectural diagram showing how the pieces fit together. The following parts describe each dimensional piece of the architecture in some more detail.

5.2.1 Dimensions
A Domain Members Taxonomy defines Dimensions as abstract item concept declarations which must be in the xbrldt:dimensionItem substitution group. Note: the xbrli:balance, xbrli:periodType and nillable attributes are ignored. A dimension can be either ‘typed’ or ‘explicit’, which are two different ways to specify the domain of valid members. 5.2.1.1 TYPED DIMENSION A typed dimension declaration must have a value for the attribute xbrldt:typedDomainRef that refers to an element declaration that defines the domain for the dimension. The domain is specified using XML Schema types. A SimpleType might e.g. specify integer values from 0 up to 100 to be valid or a String value consisting of 5 digits for a customer id A ComplexType may also be used, e.g. an ‘address’ type with ‘street’, ‘housenumber’, ‘zipcode’ and ‘city’ elements. 5.2.1.2 EXPLICIT DIMENSION The domain of an explicit dimension is identified by a dimension-domain relationship from the Dimension to the ‘root’ of a network of domain-member relationships between the Member elements. An explicit dimension may not specify the xbrldt:typedDomainRef attribute. The members of the dimension’s domain are the qnames of all Member elements in the domain-member network. A Member element is an item concept declaration in the xbrli:item substitution group (it may not be in the xbrldt:hypercubeItem or xbrldt:dimensionItem groups). The domain-member relationships form a hierarchy of members. It is possible to include elements in the hierarchy, e.g. to provide structure as the root of a sub-hierarchy, that are not meant as members of the dimension’s domain. The boolean

24

usable attribute, which has a default value of true, can be given the value false to indicate that the element pointed to is not a member of the domain. An explicit dimension may be given have a default value through a dimension-default relationship to a domain member. This default value is inferred for a context when no value for a dimension is given. The default value may not be used as value within a context, it is always inferred! Note that the dimension-default relationship does not automatically add the member to the domain of a dimension. It is not equivalent to the domain-member relationship.

5.2.2 Domain-member relationships and inheritance
Primary items may ‘inherit’ the hypercubes of other primary items by specifying a domain-member relationship between the primary items. Suppose we have two primary items, one with an hypercube (hc_age) associated, the other with a domain-member relationship to the first:
Member: ‘… – 20’

item

hc_age

Dim: age_group

Member: ‘21 – 40’

Member: ’41 – …’ Another item

Since item has the ‘age_group’ dimension through the associated ‘hc_age’ hypercube, and ‘another item’ has a domain-member relationship with ‘item’, ‘another item’ inherits the ‘age_group’ dimension.

5.2.3 Hypercubes
Hypercubes are defined in a Template Taxonomy by combining zero (the hypercube may be empty) or more dimensions. The declaring element is an abstract item concept declaration which must be in the xbrldt:hypercubeItem substitution group. The Dimensions are related to the hypercube by arcs with the role hypercube-dimension. These relationships are ordered by the order attribute on each arc. The arcs may not define cyclic relationships.

25

5.2.4 Relating Primary Items to Hypercubes
As an author of a Dimensional Taxonomy you want to be able to control which concepts can have which dimensions. The Template Taxonomy provides for this by describing which hypercubes are allowed for which primary items by declaring a has-hypercube relationship between a primary item concept and a hypercube concept. There are two types of has-hypercube relationships: all and notAll. The all relationship is used to define dimensions (and members) that are allowed for item facts. The notAll relationship defines dimensions and members that are not allowed. Combining these relationships allows for fine-grained control of the dimensions and members allowed for each fact. Suppose we have two hypercubes:
Member: ‘… – 20’ Male Dim: gender Female Member: ’41 – …’ hc_age_x_gender Dim: age_group Member: ‘21 – 40’

Female

Dim: gender

hc_exclude

Dim: age_group

Member: ‘… – 20’

A primary item with an all relationship to ‘hc_age_x_gender’, may have all combination of members as value for the ‘age_group’ and ‘gender’ dimensions. If we add a notAll relationship to ‘hc_exclude’ however, the combination of ‘Female’ as value for the ‘gender’ combination and ‘… – 20’ as value for the ‘age_group’ dimension is no longer allowed. The has-hypercube relationship must specify in which part of the context the dimensions are to be defined: segment or scenario. The contextElement attribute must have one of these values. The segment is used for dimensions that specify a part of the organizational structure of the entity, e.g. department, region, etc. The scenario is used for dimensions unrelated to the entities organizational structure, such as ‘gender’, ‘product’, etc. The optional boolean closed attribute on a has-hypercube relationship can be given a value true to indicate that only values within the hypercubes dimensions are allowed. This attribute is only applied to the segment of scenario according to the value of the contextElement attribute of the relationship. The default value is false, so not specifying the attribute will leave the segment or scenario open.

5.2.5 Dimensional Relationship Sets
The relationships specified in the XBRL Dimensions are all included in definition linkbases. According to the XBRL specification, relationships are ‘grouped’ together in a network by taking all relationships from linkbases with the same role. This is called a base set. The Dimensions specification extends the notion of a base set by introducing a targetRole attribute on several types of relationship (all, notAll, hypercube-dimension, dimension-domain and domain-member). The targetRole refers to another role and indicates a transition from a linkbase in one base set to a linkbase in the base set indicated by the specified target role. The set of relationships that are grouped together like this is called a Dimensional Relationship Set, or DRS. Creating a DRS can be usefull or even necessary when the dimensional taxonomy becomes more complicated. Without it you are very likely to include members in dimensions where they don’t belong or add dimensions to hypercubes you didn’t intend. You can easily end up with a set of relationships that make no sense or that may even contradict each other and be invalid.

This mechanism to go from one linkbase (role) to another makes validating a taxonomy or instance document a lot more complex, since relationships exist outside of the bounds of base sets as specified by XBRL.

26

The XBRL Dimensions specification uses the notion of ‘consecutive relationships’. This means that e.g. members for a hypercube are found by following first the hypercubedimension relationship and from each dimension found following the consecutive domain-member relationships. Consecutive relationships are discovered within the same linkbase role if no targetRole attribute is specified. Once a targetRole attribute is specified on an arc, the discovery of relationships moves on to the linkbase with the given role. There are no consecutive relationships discovered within the source linkbase (role). The relationships that can be ‘joined’ as consecutive are limited to what you would logically expect: has_hypercube (all / notAll) can have hypercube_dimension as consecutive relationship but not dimension_domain or domain_member, since that would ‘skip’ a relationship.

5.3 Dimensions in Instance Documents
As explained in the introduction, dimensions are specified in either the segment or scenario part of contexts in an instance document. The choice between the segment and scenario part is made by the contextElementType attribute of the hashypercube relationships. 5.3.1.1 TYPEDMEMBER For a typed dimension, the value of a dimension is given as an xbrldi:typedMember child element within the segment or scenario. The dimension attribute of this element must refer to the typed dimension declaration. The contents of the typedMember is an element of the type of the dimension refered to by its xbrldt:typedDomainRef attribute. The value for the dimension is the value of that element. Suppose we have a dimension ‘ageDim’, defined as an ‘age’ type with integer values ranging from 0 to (a bit optimistically) 150. The dimension value of 45 is given as an ‘age’ child element within e.g. a segment as follows: 45

5.3.1.2 EXPLICITMEMBER An xbrldi:explicitMember element is used to specify a value for an explicit dimension. Again the dimension attribute of this element must refer to the explicit dimension declaration. The value for the dimension is the contents of the explicitMember element and it must be the qname of one of the explicit members of the dimension. Suppose we have a dimension ‘ageGroupDim’, with the following explicit members ‘ageLessThan20’, ‘ageFrom21To40’ and ‘age41OrMore’. The dimension value of age 21 – 40 is given as a child element within e.g. a segment as follows: d:ageFrom21To40 27

5.3.2 Validation
The XBRL Dimensions specification adds a set of validation rules to the XBRL specification. 5.3.2.1 VALIDATION OF PRIMARY ITEM FACTS Primary item facts must be validated based on the item concept and the context for the item fact. An item fact is automatically dimensionally valid if its concept has no has-hypercube relationships. If the item concept does have has-hypercube relationships, the hypercubes that are referenced must be dimensionally valid. The context for the item fact must specify a valid combination of domain members or values for each referred dimension in the hypercube in at least one base set for the primairy item. If no value is given for a dimension, the default value of that dimension is inferred if it is available. It is not valid to specify more than one value for a dimension. Note that attributes like usable on domain-member relationships and closed on has-hypercube relationships are taken into account when determining if the given value is valid within the dimension. The XBRL Dimensions specification needs several pages to give a normative definition of dimensional validation, so the reality is a bit more complex than what I describe here. However, the simple rules given above and using some common sense, should give you a pretty good understanding of what dimensionally valid means.

5.3.3 Dimensional Equality
The specification adds another type of equality to the already extensive list provided by the XBRL specification: ‘d-equal’. Two facts are considered d-equal for one dimension if they have the same value for that dimension.

28

The Real World

3
6 A dive into the XBRL waters
In the previous chapters we have dipped our toes into the water, looking at what XBRL is and what can be done with it. With this knowledge we'll dive straight into the actual XBRL in this last chapter. Following the creation of a taxonomy and an instance document in several steps, we'll discover what XBRL looks like in 'real life'. This chapter shows how a taxonomy and a corresponding instance document are created, based on the demographics report used as an example in the previous chapters. Just like in real life, we won't be able to do everything right in our first try, so we'll have several different versions along the way. We'll be creating one version a day, which is only possible for a very small example. Most real-life taxonomies take several weeks or months (or even years) to create. Note: we won't be making definition or reference linkbases. In real-life you would probably at least create one of these to define your concepts. For the purpose of this chapter they are not needed. Once you have mastered label linkbases and presentation linkbases, the definition and reference linkbases should be quite easy to understand.

6.1 Day 1 – Starting out
We start with a simple taxonomy for our example.

6.1.1 Taxonomy Schema Document
First of all we need a document in which the taxonomy schema is given. It is good practice to use the date the taxonomy is created in the file name to make sure different versions in time can be easily recognized. Our project begins at the start of a new year, so we'll name our taxonomy document 'sample-2006-01-01.xsd'. We will discuss the document in small parts, filling in the taxonomy one step at a time. 6.1.1.1 SCHEMA ROOT Like any XML schema, we start with the root element 'schema':

Notice the attributes within the root element: • targetNameSpace This defines the namespace of the elements in the schema. Schema aware software that is used to process the taxonomy or an instance referring to it should use this namespace to refer to the schema and its parts.

29

The other attributes define prefixes for elements in the schema document. The prefix identifies which namespace defines the element. • • • • • xmlns The default for all elements that don't have a prefix will be the xml schema namespace. xmlns:xbrli The XBRL instance namespace elements get prefix xbrli. xmlns:link The XBRL link namespace elements get prefix link. xmlns:xlink Elements with prefix xlink reside in the xml schema xlink namespace. xmlns:sample Lastly, any elements defined by ourselves, which are in the target namespace, will be prefixed with sample.

All documents used have similar attributes on the root element to define namespaces. We won't be describing these for each new type of document. The XBRL specification includes a number of schemas: • Xbrl instance contains the definitions (types, attributes, elements etc.) needed to declare facts and concepts. • Xbrl linkbase contains the definitions needed to declare links from one part of the taxonomy / linkbase to another • Xbrl XLink (note the capitals) is used for declaring linkbases themselves. You would need this when creating your own extension to the XBRL specification. • W3C xlink is the namespace for XML Link. Note that the schema for this specification is located at the www.xbrl.org website, since the w3c doesn’t provide a schema and the XBRL specification requires a schema.

6.1.1.2 IMPORTING THE XBRL INSTANCE SCH EMA Our next step is to import the XBRL instance schema, so that we can use constructs from it in our own element definitions.

The import element must exactly locate the schema identified by the namespace. The schema document pointed to by the URI in the schemaLocation attribute must exist. The XBRL instance schema imports the XBRL linkbase schema, and the xbrl linkbase schema in turn imports the XBRL XLink and W3C xlink schemas. This means we don’t have to import these schemas ourselves. The W3C XML Schema namespace is standardized and automatically recognized by a schema aware processor.

6.1.1.3 CONCEPTS The concepts in our taxonomy are defined as elements in the schema. From the example form we earlier derived the following concepts: Name nr_employees_total nr_employees_male nr_employees_female nr_employees_age_up_to_20 nr_employees_age_21_to_40 nr_employees_age_41_and_up type non-negative integer item non-negative integer item non-negative integer item non-negative integer item non-negative integer item non-negative integer item

30

The total number of employees concept is defined as follows:

The attributes of the element are: • id This identifier is used to refer to the concept in other documents, such as linkbases. It must be unique within the schema. We have taken the name of the concept with a 'sample_' prefix to try to make it globally unique. • name The name of the element identifies the concept within the taxonomy and instance documents. It must be unique within the taxonomy. xbrli:periodType Each concept must have a period type associated with it. In our example, the number of employees is reported at the start and the end of a period, so at a specific date. The concepts have period type instant to signify this. type The number of employees is taken to be an integer number, part-timers are counted as one and not as a fraction. Since there can never be a negative number of employees, we use the nonNegativeIntegerItemType as defined in the XBRL Instance schema. substitutionGroup The concept is an item, so it must be in the item substitution group defined in the XBRL Instance schema. nillable It is recommended to always define concepts as nillable.









The other concepts are defined exactly the same, off course with their own unique id and name attributes. We will also need an abstract element to serve as root of the presentation hierarchy of our report. A abstract concept is given the (arbitrary) type xbrli:stringItemType. The concept can never be used in a fact, so we only need to supply the type because of a requirement in the XBRL specifications.

An abstract concept must have an abstract attribute with the value true.

31

6.1.1.4 LINKBASE REFERENCES If we want to present the taxonomy or instance documents, we need to provide additional information in the form of linkbases. We'll start of with two linkbases: label and presentation: The references to linkbases must be placed in an appinfo element, which must be placed in an annotation element.

The linkbase references have the following attributes: • xlink:type The type of linkbase references is always 'simple'. xlink:href The actual reference is given in this attribute. In our example, we refer to the presentation and label linkbases discussed in the next sections. xlink:role The role attribute determines the type of linkbase that is referred to. We use the presentationLinkbaseRef and labelLinkbaseRef roles defined by the XBRL Linking schema. xlink:arcrole The role of the arc used for linkbase references is always the linkbase role defined by XLink.







6.1.2 Label Linkbase
A Label Linkbase contains three types of elements: • locators to identify the concepts within the taxonomy that are given a label • label resources that contain the actual labels • label arcs that link a concept (through its locator) with a label. These elements are place within a labelLink element.

A labelLink has two attributes: • xlink:type The type of linkbases is always 'extended' • xlink:role The default role of linkbases is that of link.

32

6.1.2.1 LOCATORS Locators are placed in loc elements. They are used to locate the concepts in a taxonomy schema that are linked to.



xlink:type The type of a loc element is 'locator', signifying it is used as a locator (of concepts). xlink:href This attribute contains the actual location of the concept. Note that we use the id attribute of the concept to point to it. xlink:label The loc element is given a label attribute to refer to within the linkbase. We used the convention to use the name of the concept with the 'concept_' prefix as label.





Each concept that is given a label within the linkbase is pointed to with a loc element. 6.1.2.2 LABELS Each label is included as the value of a label element.
Total number employees Total Total number of employees



xlink:type The type of labels is 'resource' indicating it is a local resource within the linkbase. xlink:label Again, a label attribute is used to be able to refer to the label resource within the linkbase. Note that we give each label resource for the same concept the same value for the label attribute. This enables us to use a one-to-many link from a concept to all its labels. In this case three different types of label for the nr_employees_total concept. xlink:role The role determines what type of label is given. The XBRL specification supplies a large number of predefined roles. In the code example above we have included three types: 'normal' label, terse label and verbose label. An application that renders a taxonomy or instance document can choose the most appropriate type of label. Presentation linkbases may also indicate which type of label is preferred. xml:lang The language of the label must be given as attribute of the label element. The code example only includes English labels. It is possible to include labels for any needed language.







33

6.1.2.3 LABEL ARCS Finally, after setting up locators to concepts and label resources, we can link concepts to labels using label arcs.



xlink:type The type of the labelArc element is 'arc' (who would have thought!) xlink:arcrole The arcrole defines what kind of arc we are making. For labels it will be 'concept-label': an arc between a concept and its label (or in our case its three different types of label). xlink:from The from attribute points to one side of the arc. In this case the concept. We use the label of the locator to the concept as value for the attribute. xlink:to Similarly, the to attribute points to the other side of the arc, the label resource, again using the label of the resource. Since we used the same label for three different types of label, we create a one-to-many arc between the concept and its labels.







6.1.3 Presentation Linkbase
A Presentation Linkbase contains two types of elements: • locators to identify the concepts within the taxonomy that are used in the presentation hierarchy • presentation arcs that link a concept with another concept (through their locators). These elements are place within a presentationLink element.

6.1.3.1 LOCATORS The locators are equivalent to those used in the label linkbase, so we won't describe them here again.

34

6.1.3.2 PRESENTATION ARCS Presentation arcs link concepts into a parent-child hierarchy: ...



xlink:type Again, the value for type is 'arc' xlink:arcrole For presentation links the arcrole is that of 'parent-child' which indicates that the presentation linkbase results in a hierarchical structure. xlink:from The from attribute points to the parent concept in the relationship, through a loc element. Since we don't have a natural parent in our set of concepts, we have used the abstract presentation_root concept as parent for all other concepts. xlink:to The to attribute points to the child concept in the relationship, through a loc element. Each concept in the taxonomy is put as a child under the abstract presentation_root concept. order The order attribute determines the order of children when several concepts have the same parent. priority Priority is used when overriding linkbases. We don't do that in our example (yet). use By specifying 'optional' as value for the use attribute, we indicate that the concept may be part of the presentation network. It is common practice to specify this, though it is also the implied default when the attribute is not specified. preferredLabel We have created several types of labels earlier in our label linkbase. Here we see how the presentation linkbase can indicate a preferred type of label for the child concept in the arc. This is a suggestion to software which type of label to use when rendering a taxonomy or instance document. Note: since the preferredLabel can only be specified for the child concept, the root(s) of a presentation hierarchy can never be given a preferred label type.















35

6.1.4 Instance Document
Having created a taxonomy, we want to use it to create a report in an instance document. An Instance Document contains several types of elements: • reference to the taxonomy schema • contexts for the facts • units for numeric facts • the actual facts themselves. These elements are place within an xbrl element.

6.1.4.1 TAXONOMY SCHEMA REFERENCE The schema is referenced in a schemaRef element.



xlink:type The type of reference is 'simple'. xlink:href The reference is given as a href attribute. It points to the location of our taxonomy schema on the sample website.



6.1.4.2 CONTEXTS We have two contexts for our sample report:the start of the reported period and the end of the period. 12-34567 2005-01-01 12-34567 2005-12-31



id The id is used to refer to contexts from within the facts that are reported. It must be unique within the instance document. entity The entity that is reported on is placed in an entity element within the context element. o identifier The identifier element uses a scheme to identify which entity is reported on. In our example we use a non-existing scheme within our own website.



36



period The period element contains the period or instance in time of the context as a child element. o instant In our example we have two instant contexts for the start and end date of the period. The scheme we used in the identifier element refers to a fictional statistics organization that publishes identifiers for companies. Our sample company has ’12-34567’ as identifier. In the real ‘real world’ we would use e.g. a ticker symbol of a stock exchange or an identifier of a national tax authority or something similar.

6.1.4.3 UNITS Numeric facts need a unit of measure. The units used in an Instance Document are presented as unit elements. Person



id The id is used to refer to units from within the facts that are reported. It must be unique within the instance document. measure The measure child element identifies the unit of measure. In our example we have defined our own measure: that of Person.



6.1.4.4 FACTS Now finally we get at the goal of this whole exercise: reporting of facts.
35 41 23 27 12 15 5 9 23 21 7 11

Each fact is an element with its name corresponding to the concept it belongs to. The value reported for the fact is the value of the element. • contextRef Each fact refers to the context it belongs to, using the id attribute of that context. Our example contains facts for each concept within both contexts. unitRef Since we have all numeric facts, they must all reference a unit, in our case the u_person unit. decimals Numeric facts must state decimals or precision. Since we report on integer values only, we use decimals with a value of 0.





6.1.5 We proudly present to you: our instance document
After all this work, we would like to see how the instance document could actually rendered, using the taxonomy, and the label and presentation linkbases in particular. To do this we use a simple rendering tool that generates a web-page for the instance document, presenting facts in a table structure. It uses the contexts in the document to create columns in the table. The labels, that are obtained from the label linkbase dynamically, are shown as leading first column. The hierarchy specified in the presentation linkbase determines the ordering of facts in rows and indentation of the facts. The result of our first days' efforts look something like this:

All in all not a bad result for one day's work!

38

6.2 Day 2 – Refining our initial efforts
OK, so we were very happy with the results of our initial efforts yesterday. But after a good night's sleep, we decide that it is not yet what we want. The original form used different sections for totals, gender related demograhics and age related demographics. And it didn't have that ugly 'http://www.xbrl.org/2003/role/link' title above the report either! As it turns out, our renderer uses presentationLinks to define different sections and it prints the role from the presentationLink as the header of each section. Yesterday we used the default role for our one presentation link, which explains the ugly title. So the first thing to do is setting up sections with titles that mean something. Note: we'll be using copies of yesterday's work where the date in the folder and filenames is changed from 2006-01-01 to 2006-01-02. Also, we'll be making several version today, so we'll make a subfolder for each version (/a, /b, /c etc.) and place the corresponding letter in all filenames. We only describe the changes with the previous day's version.

6.2.1 Setting up sections
Setting up sections involves several changes: • Creating custom roles for the presentation linkbase, one for each section; • Defining an abstract concept as root for each section; • The presentation linkbase must include a presentationLink for each section. 6.2.1.1 CUSTOM ROLES The rendering tool uses presentationLinks in our presentation linkbase to identify sections. The title for each section is derived from the role of the presentationLink. So we need to define custom roles in the taxonomy schema to hold the titles. Our example form is divided into three sections: "totals", "gender" and "age", so we define a custom role for each section. These roles also are placed in the appinfo element within the annotation element. Total number of employees link:presentationLink Gender related demographics on employees link:presentationLink Age related demographics on employees link:presentationLink

The custom roles are defined as link:roleType elements with two attributes and two child elements: • roleURI The 'name' of the role is given in the form of an URI. We have used URI's within our own website, as is commonly done. id The identifier attribute is used to refer to the custom roles from within other documents. It must be unique within the taxonomy schema. link:definition This child element supplies a human readable definition of the role. When rendering a taxonomy or instance, it can be used as a title for each section, which is exactly what our simple rendering tool does. link:usedOn This child element defines what type of linkbases may use the role. There may be several elements, but in our case only the presentation linkbase will use the custom roles.







39

6.2.1.2 ABSTRACT ROOT CONCEPTS Instead of the one abstract concept we used yesterday, we define three abstract concepts for the three sections.

Each abtract concept can be used as a root of one presentation hierarchy. 6.2.1.3 SEPARATE PRESEN TATIONLINKS The presentation linkbase needs to be updated as well. First of all, we need to make the custom roles available to the presentation links. We do this by making references to the roles.



xlink:type The type of reference is 'simple'. xlink:href The href attribute points to the custom roles. Similar to the href attribute in loc elements, it uses the identifier of a role to point in the taxonomy schema document. roleURI Within the presentation linkbase the roles are referred to by URIs. In our example we use the same URIs that were defined in the taxonomy schema itself.





Now we can make separate presentationLinks for each section.

Each presentationLink uses the role corresponding to its own section. The relevant concepts for each section are located within the presentationLink, and a hierarchy is built with only the concepts belonging in each section. 6.2.1.4 LET'S HAVE ANOTHER LOOK When we use our simple tool to render the instance document, we get a far better result. The report is divided into the three sections, each with its own title.

Note that we used another instance document. The content is the same as that of yesterday, the only difference being the taxonomy that was referred to. One thing that is annoying however is the fact that the sections are not in the order we would like. Within a presentation hierarchy we can specify the ordering of children, but we cannot do the same for sections. One option is to make sure the renderer gives the correct ordering. As it happens, our simple rendering tool sorts the sections alphabetically. By changing the descriptions of the custom roles we can force the order of sections.

42

This looks better, but it doesn't feel right to have to rely on some 'feature' of the rendering software. In real life this is not uncommon, but we will try and go back to the drawing board in the second try of this day to see if we can come up with a better solution.

6.2.2 Back to the drawing board
So, creating three sections did clear up some of the layout of the rendered report, but the overall result is still not what we wanted. Maybe we went a bit overboard. There is another solution: the presentation link allows for a hierarchy of concepts, but up till now we have used only very 'flat' hierarchies: only one list of children beneath an abstract concept. Perhaps we should have a go at making a bit more of this hierarchy. 6.2.2.1 CUSTOM ROLES The use of a custom role to give a meaningfull title to the section was not such a bad idea, so for this version we'll keep one custom role.

Employees demographics link:presentationLink

6.2.2.2 ABSTRACT CONCEPTS We'll keep the abstract presentation_root concept, and we'll also use the abstract section concepts of the previous try. This should give us plenty of concepts to build a nice hierarchy with. 6.2.2.3 LABELS Up till now, the abstract concepts didn't have labels. For the section concepts we'll add appropriate labels this time. This is done similar to all other labels, so I won't show examples here.

43

6.2.2.4 MULTILEVEL PRESENTATIONLINK The presentation linkbase we use in this version specifies a hierarchy with more than one level.

The abstract presentation_root concept has the three abstract section concepts as children. Each abstract section concept in turn has the appropriate concepts for that section as its children.

44

6.2.2.5 LOOK AT THAT! The result of this second try looks like this:

This hierarchy does allow us to specify the exact layout and ordering of the concepts. But it still doesn't feel right. We had to go back to using just one section. What if somebody wanted to use only part of the report? I feel a third try coming on!

6.2.3 Sections revisited
In our third and last try of this day, let's think about sections for a bit. We started out today identifying three sections on the report form. But was that really correct? Keep in mind that sections in XBRL reports tend to group together related information. Somebody could decide to use only one section and would still expect to have a meaningfull report. Perhaps in our simple example this doesn't really apply. But if you look at real-life taxonomies, you will find they tend to use sections for different views on the same data: an example would be a taxonomy with sections for balance sheet and profit/loss. Would anyone interested in demographics want only the total number of employees? Perhaps, but not very likely. On the other hand: when looking at gender related demographics, you might also want to have the total numbers (imagine a more complex report with more than two concepts in the section). So what if we split into two sections: gender demographics and age group demographics, each including the total numbers? That's wat we'll do in the last try of today. 6.2.3.1 CUSTOM ROLES We set up sections similar to our first try, but only for gender and age group. 6.2.3.2 ABSTRACT CONCEPTS As you'll see in the next section, we won't need any abstract concepts anymore. 6.2.3.3 PRESENTATION HIERARCHY Adding the totals to each section gives us natural candidates for the root of our presentation hierarchy.

45

46

6.2.3.4 ONE LAST LOOK TODAY Again, we look at the result of our effort:

I don't know about you, but I think this is a pretty good result. Each section is clear and self-contained. We'll leave it at this for today.

6.3 Day 3 – Count on it!
Now that we have a taxonomy that results in nicely rendered reports, it is time to start looking at another issue: validation. As you may recall, our company employs one mathematically challenged book-keeper. Even though the report looks nice, 27 male employees and 15 female employees simply don't add up to 41 total employees. Luckily XBRL has just the thing for us: calculation linkbases!

6.3.1 Taxonomy Schema
We need to make a few changes to the taxonomy schema to start using a calculation linkbase: • Refer to the linkbase • Allow the use of custom roles 6.3.1.1 LINKBASE REFERENCE First of all we need to refer to the calculation linkbase to include it in the DTS.

We point to the document containing the calculation linkbase in the href attribute. The role attribute is set to 'calculationLinkbaseRef' to indicate we are referencing a calculation linkbase.

47

6.3.1.2 CUSTOM ROLES We have two calculations that can be made: • the number of employees per gender should add up to the total number of employees and • the number of employees per age group should add up to the total number of employees

Since we have only one total number of employees concept, we must use different roles for each calculation. Forgetting this would lead to calculations of twice the total number of employees (once per gender and once per age group). Since we already have custom roles for our presentation linkbase, let's allow these to be used for calculations as well. Gender related demographics on employees link:presentationLink link:calculationLink Age related demographics on employees link:presentationLink link:calculationLink

Allowing the use of the role in calculationLinks simply means adding a usedOn child element with value 'calculationLink'.

6.3.2 Calculation Linkbase
The start of our linkbase document should start to look familiar by now.

6.3.2.1 CUSTOM ROLE REFERENCES Just like the presentation linkbase, we need to refer to the custom roles in the taxonomy schema.

Again, no surprises here.

48

6.3.2.2 CALCULATION LINK We make a calculationLink element for each calculation, using the custom roles to differentiate between them.

6.3.2.3 LOCATORS The locators are equivalent to those used in the label and presentation linkbases, so we won't describe them here again. 6.3.2.4 CALCULATION ARCS And finally we can make calculation arcs, combining the concepts in each section to the total number of employees.

The arcrole is set to 'summation-item' which indicates that the 'from' concept is a summation calculated with items in the 'to' concept. The attribute of interest here is weight which specifies the factor to multiply with when adding an item to the summation. In our case we have a simple addition, so all weights are 1.0.

49

6.3.3 What's the grand total?
When we render the instance document with our simple rendering tool, the following is shown:

The calculation on 'Gender related demographics' resulted in a validation error: the reported value was 41, but the calculated value was 42. Just like we would expect. One limitation of calculations is shown here as well: our rendering tool couldn't decide which occurrence of the fact to show the error on. The 'Total number employees' fact for that concept is used in both sections, so the error is shown in both sections. In this case, a more clever rendering tool might detect that the role is that of 'Gender related demographics' and only show the error in the section with the same role. But this is not really a solution, since we could just as easily have used new custom roles for the calculation linkbase. In that case the rendering tool would have no way to determine where to show the error. At this moment, the only solution seems to be to use separate concepts for the total number of employees in age or gender related demographics. That would however defeat the purpose to try to report facts only once.

50

6.3.3.1 CORRECTION If we correct the report, changing the number of male employees to 26, the rendered report finds that everything is fine again.

6.4 Day 4 – How To Make Life Easier
Up till now we've been using only item concepts. Every different nr_employees concept can be interpreted on its own. There is however a drawback to this approach: the different types of gender will usually stay limited to two. For age we might however have a lot more groups instead of the three in our example. What if we needed to divide the ages into 10-year intervals? We would have to include concepts for groups 11-20; 21-30; 3140;41-50;51-60 & 61-70. When dividing in 5-year intervals, 2-year intervals or even one group per number of years, this quickly becomes very tedious. The linkbases would become very large, simply because we would have to include links for every concept separately. We would like to have a more efficient way to do this. Today we will look at a way to use tuples to solve this problem.

Note This is not really a good example. Categorizations of concepts, such as by gender and by age group should be captured in socalled dimensional taxonomies as shown in the next sections.

51

6.4.1 Structural Changes
The problem we have arises because we have included the category (gender / age group) in the concept of number of employees. What if we would separate the two into different concepts? This would lead to the following concept definitions:

This time around, most of our concepts can no longer be interpreted independently: what does a gender mean and what does a nr_employees mean? Enter our tuples: the combination of gender and nr_employees and the combination of age_group with nr_employees does lead to a meaningfull concept.

A tuple is an element with substitutionGroup 'tuple'. It has a complex type in which a sequence of other concepts is given. We have to update the label linkbase and presentation linkbase to use the new concepts accordingly.

52

The presentation links would look something like this:

The tuples are placed as child below the total concept. Each tuple gets its child elements as children in the presentation hierarchy.

6.4.2 So What Does It Look Like?
Our simple renderer doesn’t make assumptions on which item within the tuple could be seen as ‘key’, so it will simply create a little table of items, with the columns ordered according to the presentation linkbase.

Note that although our renderer does an OK job showing simple tuples, in general this can be a very difficult task. The items in tuples are not required to refer to the same context. And tuples can be infinitely nested, although that will probably never occur in practice. This makes rendering tuples very difficult and will usually lead to custom rendering where knowledge of what is to be rendered can be used to decide how to layout tuples.

54

6.5 Day 5 – Opening up new Dimensions
In the previous sections we had reasonable success in translating our example form to XBRL, but it didn’t quite fit. Today one of our designers had a brainwave: let’s try out the XBRL Dimensions extension! Looking at chapter five, it becomes immediately obvious that both gender and age group may be designed as dimensions. The taxonomy used up till now is ‘promoted’ to Primary Taxonomy sample-2006-01-05.xsd. We create a combined Domain Members and Template Taxonomy in sample-2006-01-05-dimension.xsd.

6.5.1 The Primary Concepts
As you might expect, we can simplify the sample taxonomy we have been using up till now. The primary concept that is needed is nr_employees. However, we will be using this concept within different dimensional contexts and we want to report the total number of employees in a context without dimensions. For this reason we also define the concepts nr_employees_by_gender, nr_employees_by_age and nr_employees_total in the nr_employees substitution group.

The facts about the number of employees will simply be reported in several dimensions, using the different substitutions of nr_employees to keep the dimensions (and presentations) separated.

6.5.2 A Template Taxonomy
The Domain Members and Template Taxonomy are combined into one taxonomy schema. The Template Taxonomy imports a number of other schemas:

55

The xbrldi schema is not used in the Template Taxonomy itself, but it is used in the instance document, which in turn refers to the Template Taxonomy. To keep the dependency of instance documents on the dimensional module as limited as possible, the Template Taxonomy does the import. The Template Taxonomy must also refer to the Primary Taxonomy by importing it, to be able to reference primairy items.

6.5.3 A Typical Dimension
As we know, there are two kinds of dimensions: typed and explicit. This section will look at how ‘age group’ could be set up as a typed dimension. First of all, we need an element to define an XML Schema type for age_group. We’ll use a simple type with an enumeration of possible values:

Having the type, we can declare the age group dimension which refers to the type in its typedDomainRef attribute.

Note that the element is defined abstract, which is a requirement. The substitution group is xbrldt:dimensionItem.

6.5.4 Watch out: Explicit Language!
Just for the fun of it, this section will show the gender set up as an explicit dimension. This means we have to declare a set of items for the members as well as the dimension.

56

Note that the dimensionItem element is defined abstract, which is a requirement. The elements meant for dimension members all are in the xbrli:item substitution group. The gender element serves as the root of the dimension member hierarchy. The other elements are the members in the domain. The members are assigned in the hierarchy with domain-member relationships, for which we create a definition linkbase. The linkbase will use a role to group the relationships and it is referenced from the taxonomy schema. Gender dimension for demographics on employees link:definitionLink

Within the linkbase we reference the role and locate the member items as usual.

The dimension is linked to its domain by a dimension-domain relationship. The members of the domain are defined by domain-member relationships between the located items in the definition link:

57

6.5.5 What’s the Hype?
Now that we have a Primary Taxonomy and a Domain Member Taxonomy, we can combine these with hypercubes in a Template Taxonomy. First we declare the hypercube concepts themselves as abstract elements in the hypercubeItem substitution group.

The hypercubes and primary item concept are located in the definition linkbase and relationships are created from primary concept to hypercube to dimension.

For the age group dimension we make a similar definition link that locates the concepts and creates arc relationships between the primary concept, the hypercube and the dimension.

58

Note that the link uses another role defined in the dimension taxonomy: ageGroupDimension: Age group dimension for demographics on employees link:definitionLink

6.5.6 Presenting in dimensions
The presentation and label linkbases are similar to the ones we have been using before, we won’t be rehashing them here.

6.5.7 Dimensional instance
Now that we have our dimensional taxonomy set up, we can make an instance document using the dimensions. First we define contexts for the total number of employees both at the start and the end of the reporting period.

12-34567 2005-01-01 12-34567 2005-12-31

Next we define contexts for the values of the age group dimension.

12-34567

59

2005-01-01 .. - 20 12-34567 2005-12-31 .. - 20 12-34567 2005-01-01 21 - 40 12-34567 2005-12-31 21 - 40 12-34567 2005-01-01 41 - .. 12-34567 2005-12-31 41 - ..

60

The dimension is referred to in the dimension attribute of the xbrldi:typedMember element. The value for the dimension is specified as a sd:age_group_type element, which is the declared type of the dimension, with the correct value as content. Next we define contexts for the values of the gender dimension. 12-34567 2005-01-01 sd:male 12-34567 2005-12-31 sd:male 12-34567 2005-01-01 sd:female 12-34567 2005-12-31 sd:female

The dimension is referred to in the dimension attribute of the xbrldi:explicitMember element. The value for the dimension is specified as its content, which corresponds to the element name of the dimension domain member. Note that the instance document references the Template Taxonomy, instead of the Primary:

61

Finally we can report the facts, each within it’s own context. 35 41 23 27 12 15 5 9 23 21 7 11

62

6.5.8 Our first peek in another dimension
The simple renderer we use has no support for dimensions, so the report looks like this:

After some manual changes, removing unnecessary columns, resorting the remaining columns and adding another header row we can have a look at a somewhat better presentation as you might expect from a dimensions aware renderer:

63

6.6 Day 6 – Entering Multiple Dimensions
Hypercubes with just one dimension aren’t really worth the trouble, are they? So this last day we’ll see what the dimensional taxonomy and instance document look like when we combine the two dimensions into one hypercube. Doing this involves changes to all parts of the taxonomy, mostly dropping things we no longer need or replacing separate elements with one combined element: • Primary Concepts We will not distinguish between the two dimensions so we can drop the nr_employees_by_age and nr_employees_by_gender substitutions. • Dimension Taxonomy Since we can use the gender dimension member element to signify ‘all genders’, we add an ‘all’ token to the age_group_type to even things up.



Template Taxonomy We can replace the hc_age_group and hc_gender hypercubes with one hc_gender_x_age_group hypercube.

6.6.1 Definition Linkbase
It becomes interesting when we start looking at the definition linkbase. First of all, the relationships from primary item to hypercube and from hypercube to dimension are removed from the gender definitionLink, leaving only the relationships between dimension and its members. The age group definitionLink may be removed completely, replacing it with a definitionLink for the new hypercube.

64

Note that the hypercube-dimension arcs are ordered. Also note the targetRole attribute on the arc to the gender dimension refers to the role in which the gender dimension is declared. This allows the processor to go from one base set to the other when composing the DRS.

6.6.2 Instance document
The contexts of the instance document need to be changed to provide values for both dimensions. The following sample shows some possible contexts (it takes too much trees to print them all). 12-34567 2005-01-01 sd:male all 12-34567 2005-12-31 sd:female .. - 20

The first context can be used to report the number of male employees at the start of the reporting period, regardless of age. Reporting the number of female employees aged up to 20 at the end of the reporting period can be done with the second context. Note that the order for dimensions must be the same as specified in the definition linkbase.

65

Rendering this instance could be done in a different layout than that supported by our simple renderer in a ‘matrix’ like this (disregarding the totals):

Number of employees by age group and gender
2005-01-01 … – 20 Male Female 2005-12-31 … – 20 Male Female
6 3 4 1

21 – 40
15 8

41 – …
4 3

21 – 40
14 8

41 – …
7 4

6.6.3 When in doubt, use a Default
Let’s see if we can make life a little bit easier for reporters that want to report on age-group regardless of gender. Remember that the reporter can use the domain_gender domain member to signify ‘all genders’. We can help the reporter by specifying the domain_gender dimension member as default:

With this default in place, we can create a context like this: 12-34567 2005-01-01 .. - 20

A dimensions conformant processor will derive the default domain_gender value automatically.

6.6.4 Never Ask A Lady About Her Age
One final twist to our dimensional taxonomy is to exclude certain combinations of dimensions. For the sake of argument, suppose we are real gentlemen who don’t ask a lady about her age. We can define a role and hypercube like this: A gentlemen never asks a lady about her age link:definitionLink

The hypercube is given it’s own dimensions that include the female gender and all age groups, all within the gentleman role to keep it separate from the hypercube we already defined.

Again we locate the elements we’re going to need.

The new female_x_age_group hypercube is given the same two dimensions as the gender_x_age_group hypercube.

But the domain of the gender dimension consists of female only.

This time we make a notAll relationship between our familiar nr_employees primary item and the new hypercube to signify that the combinations in that hypercube are not allowed. This effectively preventis reports on any female – age group combination.

67

6.7 Conclusion
This concludes our ventures into the XBRL language. As shown in this chapter, a lot is possible with XBRL, but you need to carefully consider how to set up a taxonomy and its linkbases to stay within the limits imposed by XBRL.

68

Similar Documents

Free Essay

Xbrl

...The XBRL technology standard for business information reporting was initiated in 1998 by Charles Hoffman when a handful of forward-looking accounting and technology experts came up with the idea of structured data for business information. Later that year, the American Institute of Certified Public Accountants (AICPA) was approached to spearhead the introduction of what was to become XBRL to the world. AICPA provided funding to begin research and development. In 1999, the prototype is completed and named XFMRL (Extensible Financial Reporting Markup Language). The prototype is describing XML as important for the accounting profession. The first XFRML consortium meeting took place in New York by October 1999. Soon thereafter, the initial name XFRML was changed to XBRL once the name was determined by the consortium members.  The XBRL committee announces the presentation of the first specification for financial statements for American businesses. The membership of the committee increases significantly. (Gray 2007) In April 2008, XBRL US completed the first release of the XBRL US GAAP Taxonomy and subsequently published the 2009 Release, 10 years from when the idea was born.  Today, XBRL is being adopted around the globe by the business community which sees the opportunity to transform the way it communicates and conducts business. (XBRL.us) XBRL(eXtensible Business Reporting Language) is a financial reporting markup language derived from XML (eXtensible Markup Language). The markup...

Words: 2387 - Pages: 10

Free Essay

Xbrl

...Implementing XBRL Developing a roadmap for the SEC mandate Contents 1 2 4 14 What is XBRL? XBRL and the SEC Implementing XBRL Focus on quality To our clients and friends For several years now, momentum has been building towards a single electronic financial reporting standard to allow more efficient retrieval and analysis of financial information. One of the key objectives of this movement to digital financial reporting is to enhance the accessibility of financial information, which proponents believe will be utilized better, faster and cheaper. Furthermore, a digital format would support more informed business and investing decisions, including greater comparability across enterprises. The SEC has required filers to begin using “interactive data” — eXtensible Business Reporting Language (XBRL) — as the electronic financial reporting standard. This indicates the dawn of a new digital era in business and financial reporting. This document is intended to help companies develop an XBRL implementation strategy that includes an understanding of the key considerations and decisions required to create a quality XBRL submission. Thus allowing investors, analysts, regulators and other financial statement users to realize the full benefits of XBRL. It outlines the building blocks for a company’s XBRL implementation plan. The foundation of this plan is for a company to develop the necessary background on XBRL basics and the SEC’s XBRL mandate. With an implementation...

Words: 9131 - Pages: 37

Free Essay

Xbrl

...EXTENSIBLE BUSINESS REPORTING LANGUAGE (XBRL) Submitted in Partial Fulfillment of Course Requirements in Accounting 8320 Spring 2009 Kesha Haley By submission of this paper I certify that this paper is entirely my own work. Further this paper has not been submitted for credit in another course. HALEY - 1 - EXTENSIBLE BUSINESS REPORTING LANGUAGE (XBRL) ABSTRACT The purpose of this paper is to define XBRL, explore the implications of XBRL on auditing, and discuss the advantages and disadvantages of this form of financial reporting. The SEC is now requiring companies to submit financial statements in the XBRL format. A subset of XML (eXtensible Markup Langage), XBRL (eXtensible Business Reporting Language) standardizes the electronic communication of financial data around the world. XBRL will provide benefits, cost savings, increased efficiency, improved accuracy and reliability in the analysis and communication of business information. It may be thought of as the SEC.s answer to the desire of many to have a continuous audit. This paper will first discuss the definition and origins of XBRL, implications on auditing, advantages and finally disadvantages of XBRL. HISTORY AND OVERVIEW Introduced in the 1990.s by Charles Hoffman, eXtensible Business Reporting Language (known as XBRL) is revolutionizing business reporting across the globe (http://en.wikipedia.org/wiki/XBRL). An extension of eXtensible Markup Language (known as XML), XBRL is being used for reporting financial data...

Words: 3866 - Pages: 16

Premium Essay

Xbrl

...accounting + auditing Intro to XBRL Patricia Francis xbrL Is resHApING tHe FINANcIAL reportING LANDscApe WorLDWIDe, AND LooKs set to Do tHe sAme IN mALAYsIA oNce FuLLY ImpLemeNteD bY LocAL reGuLAtors AND busINesses. Are You xbrL reADY? The objectives of SSM’s SDP II are: • To enhance delivery and improve accuracy of information; • To achieve a standardised and consistent mode of reporting with enhanced analytical capabilities; • To promote data usability and exchange flow with external stakeholders. According to Nor Azimah, SSM also promotes the adoption of XBRL as a nationwide format to be used by key agencies such as the Inland Revenue Board (LHDN), Securities Commission (SC) and Bursa Malaysia and the building of extension taxonomies by the mentioned agencies. The said adoption will provide SSM, other regulators and businesses with detailed data which can be aggregated and made available to stakeholders in the form of industry analysis for industrial benchmarking. The move to XBRL-based reporting is also in line with plans to transform Malaysia into a digital country by 2020, as XBRL reports form part of the digital reporting chain. At the recent Digital Malaysia Press Conference held on 5 July 2012 by the Ministry of Science, Technology and Innovation (MOSTI) along with Multimedia Development Corporation (MDeC), Datuk Badlisham Ghazali, CEO of MDeC told the media that Digital Malaysia will help drive automation and technology adoption to ensure productivity and...

Words: 2550 - Pages: 11

Free Essay

Xbrl for the Irs

...IRS Adoption of XBRL Table of Contents Introduction 3 Interactive Data 3 A Common Standard 3 Multi-lingual Feature 4 XBRL GL 4 Benefits 5 Accuracy 5 Traceability 5 Predictability 6 Obstacles 6 Around the World 7 HMRC iXBRL 7 Netherlands Taxonomy Project 7 Standard Business Reporting 8 Partners 8 Conclusion 9 Reference List 10 Introduction eXtensible Business Reporting Language (XBRL), the standard for electronic communication of business data has grown to become an integral part of business reporting today. The Securities & Exchange Commission’s (SEC) XBRL mandate began in 2009, requiring all public companies to submit financial statements in XBRL format (United States Securities and Exchange Commission, 2011). The Federal Deposit Insurance Corporation (FDIC) has used the standard since 2005. The Internal Revenue Service (IRS) is the latest of these immense government agencies to flirt with idea of implementing a XBRL mandate. The purpose of this paper is to briefly (1) explore why XBRL is the preferred standard, (2) shed light on the exploratory phase that the IRS has entered and the benefits to be gained from the new standard as well as the obstacles that lie ahead, (3) look at what the rest of the world is doing, and finally (4) look at the inevitability of an IRS adoption of XBRL. Interactive Data Unlike commercial accounting information systems, tax returns printed on paper forms and information...

Words: 2140 - Pages: 9

Free Essay

What Is Xbrl

...What is XBRL? What is XBRL? May 2008 Charles Hoffman, CPA (Charles.Hoffman@UBmatrix.com) 1 What is XBRL, the 50,000 foot Perspective Let's first take a look at XBRL from altitude, from the 50,000 foot "big picture" perspective. 1.1 Definition definition of XBRL (from Wikipedia, see XBRL (Extensible Business Reporting Language) is an open standard which supports information modeling and the expression of semantic meaning commonly required in business reporting. XBRL is XML-based. It uses the XML syntax and related XML technologies such as XML Schema, XLink, XPath, Namespaces, etc. to articulate this semantic meaning. One use of XBRL is to define and exchange financial information, such as a financial statement. The XBRL Specification is developed and published by XBRL International, Inc. (XII). XBRL is a standards-based way to communicate business and financial information. These communications are defined by metadata set out in taxonomies. Taxonomies capture the definition of individual reporting concepts as well as the relationships between concepts and other semantic meaning. The following is a very good http://en.wikipedia.org/wiki/XBRL): 1.2 The Fundamentals: Better, Faster, Cheaper Fundamentally, this is what XBRL is about: SOURCE: XBRL Essentials, published by the AICPA The components of financial reporting from both a creation and analysis perspective involve: data discovery, re-keying of data, validation of data, reporting, analysis...

Words: 4615 - Pages: 19

Free Essay

Literature Review of Xbrl

...| Literature Review of XBRL | | | | | Group 14: | | | Literature Review of XBRL ------------------------------------------------- Z Abstract XBRL (eXtensible Business Reporting Language) is a standard XML reporting language to enhance the efficiency, reliability and accuracy of financial reporting. Since its foundation in 1998, XBRL has been developing rapidly in the world. This paper teases out and discusses the literature researches of XBRL from 6 aspects: the production bases of XBRL, the effect of XBRL, the classification criteria formulation of XBRL, the auditing assurance of financial reports based on XBRL, the implementation of XBRL in different countries and some researches about XBRL in China, which reflects the current status of research about XBRL relatively fully. ------------------------------------------------- Keywords: XBRL, Auditing assurance, Classification criteria 1. Introduction XBRL is one variant of XML (eXtensible Markup Language) for business reporting. XBRL defines financial data on the web with explicit semantics in a machine-readable format, making automated data analysis possible. XBRL is a standard XML reporting language to enhance the efficiency, reliability and accuracy of financial reporting. Data in XBRL format does not need to be converted from one application to another because data are independent of applications by using standard tags for data items (Farewell, 2006). The financial information is presented to the public on...

Words: 5525 - Pages: 23

Free Essay

Xbrl: Issues and Challenges

...XBRL: ISSUES AND CHALLENGES Erlane K Ghani and Kamaruzzaman Muhammad Throughout the world, a number of key regulators are advocating the need of Extensible Business Reporting Language (XBRL) and trumpeting this tool to be digitalising the financial information value chain thus bringing huge benefits to all relevant parties. Many companies in the world have started to prepare XBRL-based financial reports and the momentum of such practice is growing rapidly (Kernan, 2008). Similar to other countries, Malaysian regulators have also seen the need of adopting XBRL for all companies as a necessity to improve financial reporting. XBRL is seen to assist relevant parties in achieving the objectives of accounting framework in terms of relevance, consistency, timeliness and accuracy. The parties involves in the preparation and the usage of financial information such as the regulators, preparers, users as well as the auditors would have greater access to the financial information via XBRL since XBRL use the Internet as the medium of communication and transmission of information. Due to the greater hyped of XBRL, the Companies Commission of Malaysia (SSM) have set to fully implement XBRL upon completion of a five-year XBRL initiatives initiated by Malaysia’s Registrar of Companies developed under its Strategic Direction Plan II. SSM plans to implement XBRL-based financial reporting in phases starting with listed companies, their subsidiaries and non listed companies followed by private...

Words: 3572 - Pages: 15

Premium Essay

Xbrl: M the New Reporting

...Running head: XBRL: THE NEW REPORTING XBRL: The New Reporting Julie Mercer Strayer University Chapter One Introduction This chapter consists of research ideas relating to eXtensible Business Reporting Language or XBRL, also how the American Institute of Certified Public Accountants (AICPA) and the Securities and Exchange Commission (SEC) are moving towards this type of reporting. The chapter consists of context of the problem, statement of the problem, research question and sub-questions, significance of the problem, research design and methodology, and organization of study. The chapter will also include a tentative reference list. Context of the Problem There is a time limit as to when an organization has to report financials to the SEC. There are several forms that are required to be filed to the SEC by public organization, for the purpose of this research paper we will focus on quarterly statements (10-Q) and yearly statements (10-K). For the 10-Q the organization has forty-five days, after each of the first three quarter ends to file the report with the SEC and ninety days, after the fiscal year end. (Yuille, n.d.) Given the time-frame organizations have to report the quarterly earnings, it would seem to be enough, but let us look at an organization that has an enterprise resource planning (ERP) system, along with Hyperion Financial Manager (HFM). The ERP system captures data from all the locations, if the organization has more...

Words: 2115 - Pages: 9

Free Essay

Extensible Business Reporting Language (Xbrl)

...Abstract This research paper will discuss Extensible Business Reporting Language (XBRL). The SEC is now requiring companies to submit financial statements in the XBRL format. (XBRL) is a language for the electronic communications of all sort of businesses and the exchange of financial data that is transforming business reporting around the globe. First in this research, I will discuss the definition and origins of (XBRL), and then I will summarize how (XBRL) works. Later, I will emphasize the main gains that XBRL provides in terms of cost savings, better efficiency and enhanced accuracy. Finally, it’s important to debate the disadvantages of Extensible Business Reporting Language (XBRL). History and definition Presented in the 1990‟s by Charles Hoffman, Extensible Business Reporting Language (XBRL) is a reforming business reporting throughout the world. This language has being used for reporting financial data around the globe, and the Securities and Exchange Commission (SEC) is serious about transforming corporate filings into an XBRL-based electronic reporting system. SEC started to get involved and requires (XBRL) to be phased in for U.S. financial reporting over the next few years (Hannon, 2005). The three year schedule phase-in plan is as follows: * 2009 – “Large accelerated filers”: (1) Use U.S. Generally Accepted Accounting Principles and (2) have a market capitalization of $5 billion as of the end of the most recent second fiscal quarter. (Estimated to cover...

Words: 2249 - Pages: 9

Free Essay

Extensible Business Reporting Language (Xbrl)

...Abstract About ten years ago the concept of Extensible Business Reporting Language (XBRL) was conceived by Charles Hoffman, a CPA in the state of Washington, USA. Since then it has grown to become a global phenomenon. In 2009, the Securities Exchange Commission (SEC) mandated the implementation of financial statements in XBRL format. Since its implementation, XBRL benefits where to reduce cost, improve data accuracy, flexibility and increase transparency. The purpose of this paper is to give a brief history on XBRL, XBRL’s implication on auditing, and the different challenges faced when implementing XBRL. HISTORY Charlie Hoffman is who coined the idea of Extensible Business Reporting Language (XBRL) in 1998. Brands (2013) stated that Hoffman saw the way to “how Extensible Markup Language (XML) could be used to share financial and business information in computer systems by employing standardized tags to define the information” (p 56). XBRL enables business information to be electronically shared, communicated, interpreted, and reused without human manipulation. With XBRL, users are able to tag or establish taxonomies to an individual item whether numerical or textual data. The use of tagging or taxonomy has made it easier to understand how the information is related to each other and how the information is calculated (www.xbrl.org). Based on AICPA.org, XBRL is able to provide the following benefits to its users: • companies and other producers of financial...

Words: 1159 - Pages: 5

Free Essay

Accounting

...column with the appropriate definition from the right column. Ignore d and f. Term | Definition letter | 1. Payroll service bureau | E | 2. Payroll clearing account | H | 3. Earnings statement | G | 4. Payroll register | A | 5. Time card | C | 6. Time sheet | B | b b Chapter 16 quiz Question No. | Answer | 1. | B | 2. | B | 3. | C | 4. | B | 5. | D | 6. | C | 7. | A | 8. | A | 9. | B | 10. | C | Problem 16.1 Match the term in the left column with its appropriate definition from the right column: Terms | Definition letter | 1. journal voucher file | D | 2. instance document | K | 3. XBRL element | A | 4. Balanced Scorecard | F | 5. XBRL extension taxonomy | L | 6. audit trail | I | 7. XBRL taxonomy | E | 8. XBRL linkbase | G | 9. XBRL schema | H | 10. XBRL style sheet | J | 11. responsibility accounting | B | 12. flexible budget | C | Chapter 11 quiz Question No. | Answer | 1. | D | 2. | B | 3. | A | 4. | D | 5. | D | 6. | D | 7. | C | 8. | D | 9. | A | 10. | B |...

Words: 298 - Pages: 2

Premium Essay

Xbrl

...computer-readable data, with the output being a document, i.e. financial statements, that looks like a Word or Excel document, but which has electronic tags embedded within it. The implications of these new requirements may be far-reaching, and could include: impact on organisational structure; timing of the audit; the statutory account production process; software and I.T. policy; and tax compliance. KPMG in Ireland has significant experience helping businesses in every sector easily and cost-effectively manage their iXBRL transition, We spoke to Jon D'Arcy of KPMG in Ireland, and asked him about the iXBRL experience in the U.K., and why getting iXBRL right first time is so important for Irish businesses. "The Revenue in the U.K. introduced XBRL two years ago, and the Revenue in the U.K. just made an announcement to say anybody who submits accounts in the U.K. with incorrect tags, or not a great effort at tagging, that they're more susceptible to get their accounts audited by the Revenue, so it's definitely a point for people to think about, that OK, this may be a burden, but it's an important burden to make sure you get right." It all sounds quite complex, and doing it yourself potentially costly and time-consuming, so what choices are open to Irish-based businesses, and how can KPMG help? "There's two main approaches really; you can adopt what's called an accounts preparation...

Words: 515 - Pages: 3

Premium Essay

Hall

...4.1 Audit objective relating to database access is verify that database access authority and privileges are granted to users in accordance with their legitimate needs. Audit procedures for testing data access controls are: Responsibility for authority tables and subschemas. The auditor should verify that database administration personnel retain exclusive responsibility for creating authority tables and designing user views. Evidence may come from three sources: (1) by reviewing company policy and job descriptions, which specify these technical responsibilities; (2) by examining programmer authority tables for access privileges to data definition language commands; and (3) through personal interviews with programmers and DBA personnel. Appropriate access authority. The auditor can select a sample of users and verify that their access privileges stored in the authority table are consistent with their job descriptions organizational levels. Biometric controls. The auditor should evaluate the costs and benefits of biometric controls. Generally, these would be most appropriate where highly sensitive data are accessed by a very limited number of users. Inference controls. The auditor should verify that database query controls exist to prevent unauthorized access via inference. The auditor can test controls by simulating access by a sample of users and attempting to retrieve unauthorized data via inference queries. Encryption controls. The auditor should verify that sensitive data, such...

Words: 1785 - Pages: 8

Free Essay

Accounting Information Systems

...3 Grading Criteria | Maximum Points | Correctly completed all the problems assigned. | 25 | Appropriately applied the concepts learned to answer the questions. | 5 | Presented a structured document free of spelling and grammatical errors. | 5 | Cited sources correctly using the APA format. | 5 | Total: | 40 | Imsorry 1.5 Research the programming language XBRL and write a two-page report about its effect on financial reporting via the Internet. http://www.xbrl.org/WhatIsXBRL/ XBRL's beginning can be traced to the initial efforts of one person, Charles Hoffman, a certified public accountant from Tacoma, Washington. XBRL (eXtensible Business Reporting Language) is a freely available, market-driven, open, and global standard for exchanging business information. XBRL allows information modeling and the expression of semantic meaning commonly required in business reporting. XBRL is XML-based. One use of XBRL is to define and exchange financial information, such as a financial statement. XBRL is a standards-based way to communicate and exchange business information between business systems. XBRL (eXtensible Business Reporting Language) is an enabling, disruptive technology: enabling in that Internet reporting will cut through...

Words: 537 - Pages: 3