smes financial report in spain: easy xbrl with open source excel
TRANSCRIPT
22nd EuroFiling workshop
Techies Track
Javi Mora Gonzálbez
XBRL WEEK IN FRANKFURT 20162
XBRL WEEK IN FRANKFURT 20163
XBRL WEEK IN FRANKFURT 20164
XBRL WEEK IN FRANKFURT 20165
VBA (Visual Basic for Applications) is thename of the programming language ofExcel.
XBRL WEEK IN FRANKFURT 2016
No need for special XBRL libraries, just
Microsoft XML, v3.0
6
XBRL WEEK IN FRANKFURT 2016
VBA Microsoft XML Core Services (MSXML) that allowsusers to build XML-based applications that provide a highdegree of interoperability with other applications thatadhere to the XML 1.0 standard.
Among the core services MSXML provides is developersupport for the Document Object Model (DOM), astandard library of application programming interfaces(APIs) for accessing XML documents.
7
XBRL WEEK IN FRANKFURT 2016
XBRL instance document
MSXML2.DOMDocument
Elements
MSXML2.IXMLDOMNodeList
MSXML2.IXMLDOMNode
Attributes
MSXML2.IXMLDOMAttribute
8
XBRL WEEK IN FRANKFURT 20169
XBRL WEEK IN FRANKFURT 201610
Create variables
XBRL WEEK IN FRANKFURT 201611
Create an array with qnames
XBRL WEEK IN FRANKFURT 201612
Open the XBRL instance and get the entry point
XBRL WEEK IN FRANKFURT 201613
Read all the contexts and get the periods reported
XBRL WEEK IN FRANKFURT 201614
For every item in the array, read the value in theXBRL instance document and put it on the associatedcell, depending on the reporting year
XBRL WEEK IN FRANKFURT 201615
For every item in the array, read the value in theXBRL instance document and put it on the associatedcell, depending on the reporting year
XBRL WEEK IN FRANKFURT 201616
XBRL WEEK IN FRANKFURT 201617
This XBRL import functionality it’s oriented toSpanish GAAP XBRL taxonomy, but it can beadapted to any XBRL taxonomy with small effort
No XBRL validation, just reading XBRL instances
Open source. Reuse it!.
Less than 800 lines of source code, fullydocumented
… in Spanish
XBRL WEEK IN FRANKFURT 201618