
## XbrlDocument class

An XBRL document which contains one or more XBRL instance.



The XbrlDocument type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [XbrlDocument()](/finance/python-net/aspose.finance.xbrl/xbrldocument/__init__/#) | Initializes a new instance of XbrlDocument class |
| [XbrlDocument(file_name)](/finance/python-net/aspose.finance.xbrl/xbrldocument/__init__/#str) | Initializes a new instance of XbrlDocument class and open a file. |
| [XbrlDocument(file_name, options)](/finance/python-net/aspose.finance.xbrl/xbrldocument/__init__/#str-LoadOptions) | Initializes a new instance of XbrlDocument class and open a file. |


### Properties
| Property | Description |
| :- | :- |
| [xbrl_instances](/finance/python-net/aspose.finance.xbrl/xbrldocument/xbrl_instances) | Gets XBRL instance collection |


### Methods
| Method | Description |
| :- | :- |
| [save(file_name)](/finance/python-net/aspose.finance.xbrl/xbrldocument/save/#str) | Creates and saves the XBRL file to the disk. |
| [save(file_name, save_options)](/finance/python-net/aspose.finance.xbrl/xbrldocument/save/#str-SaveOptions) | Save the XbrlDocument to the disk. |
| [save(stream, save_options)](/finance/python-net/aspose.finance.xbrl/xbrldocument/save/#io.RawIOBase-SaveOptions) | Save the XbrlDocument to the stream. |


### See Also

* module [aspose.finance.xbrl](../)
