NAME

dumpxbrl

SYNOPSIS

dumpxbrl {-t|-c|-l|-i|-g} -d dir/to/schema/files <xbrl> [options]

DESCRIPTION

This program will parse the given xbrl file and print it's contents.

If a file needed to parse the xbrl doesn't exist, the file is downloaded to the directory specified by -d option.

You can store the taxonomies of TDnet and EDINET to the schema directory in advance. But I donnot examine it.

example:

To dump a presentation tree of consolidated balance sheet with fields(depth,order,id_short) and context fileds(value,adjValue)

dumpxbrl -t --notextblock <xbrl> -f depth order id_short -cf value adjValue -type pre -role http://disclosure.edinet-fsa.go.jp/role/jppfs/rol_ConsolidatedBalanceSheet -d dir/to/schema/files

Debug dump with -g option will help you understand JPFR.

dumpxblr -g -d dir/to/schema/files <xbrl>

OPTIONS

-h[elp]

Prints a help message and exits.

-i[tem]

Prints items. It is much faster than the other dumps, because no taxonomy is parsed, or bacause only the XBRL-instance is parsed.

-t[ree]

Prints definition, presentaion, and/or calculation trees.

-c[ontext]

Prints contexts.

-l[abel]

Prints labels.

-g|debug

Prints contents for debug.

-e[nglish]

Prints in english.

-s[imple]

Prints simple trees(with -tree). It represents hierarchies of the threes as indented labels.

-f[ields] field_names...

Sets fields to show(with -tree).

-context_fields|cf field_names...

Sets context fields to show(with -tree).

-type string...

Sets type(s) to show(with -tree).

types are 'def', 'pre' and 'cal'. these are default types.

-role string...

Sets role(s) to show(with -tree).

-indent string

Indent string for simple trees(with -tree).

-s0 string

Separator between fields.

-s1 string

Separator between values.

-s2 string

Separator between key and value.

-notextblock

Doesnot print TextBlock.

AUTHOR

Tetsuya Yamamoto <yonjouhan@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2015 by Tetsuya Yamamoto

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10 or, at your option, any later version of Perl 5 you may have available.