Abstract: Formalization and reasoning is the basic step of quality control mechanism in XBRL, which is one of the most difficult and challenging issue in XBRL development. In this study, the metadata, hierarchical relationship and ordinary-special relationship of XBRL are formalized in description logic DLRBR. An example of metadata and relationships in XBRL financial statement is given. Rules are constructed and equivalence checking and disjoint checking are implemented in Jena. The result is correctly and high-efficiency.