
## save(file_name) {#str}

Creates and saves the XBRL file to the disk.



```python
def save(self, file_name):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| file_name | str | The name of created file. |


## save(file_name, save_options) {#str-SaveOptions}

Save the XbrlDocument to the disk.



```python
def save(self, file_name, save_options):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| file_name | str | The file name. |
| save_options | [SaveOptions](/finance/python-net/aspose.finance.xbrl/saveoptions) | The save options. |


## save(stream, save_options) {#io.RawIOBase-SaveOptions}

Save the XbrlDocument to the stream.



```python
def save(self, stream, save_options):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | The file stream. |
| save_options | [SaveOptions](/finance/python-net/aspose.finance.xbrl/saveoptions) | The save options. |



### See Also
* module [aspose.finance.xbrl](../../)
* class [XbrlDocument](/finance/python-net/aspose.finance.xbrl/xbrldocument)
