Product description
==================================
`Product Page <https://products.aspose.com/finance/python-net>`_ | `Docs <https://docs.aspose.com/finance/python-net/>`_ | `Demos <https://products.aspose.app/finance/family/>`_ | `Blog <https://blog.aspose.com/category/finance/>`_ | `Code Samples <https://github.com/aspose-finance/Aspose.Finance-for-Python-via-.NET>`_ | `Free Support <https://forum.aspose.com/c/finance>`_ | `Temporary License <https://purchase.aspose.com/temporary-license>`_ | `EULA <https://company.aspose.com/legal/eula>`_
Try our `free online apps <https://products.aspose.app/finance/family>`_ demonstrating some of the most popular Aspose.Finance functionality.
Aspose.Finance for Python via .NET is a a scalable and feature-rich API to process finance-related formats, such as XBRL iXBRL and OFX, using Python. API offers XBRL, iXBRL, OFX file creation, manipulation and conversion. It allows you to open files and manipulate XBRL/iXBRL, OFX, and then export to XBRL,OFX file formats.
Finance API Features
-------------------------
Aspose.Finance offers a wide arrange of features for creating, reading, manipulating and saving xbrl,ixbrl,ofx files:
* Create XBRL instance from scratch
* Create iXBRL(inline XBRL) from scratch
* Read XBRL and iXBRL Formats
* Validate XBRL and iXBRL
* Convert XBRL to iXBRL
* Convert XBRL to XLSX
* Convert iXBRL to XBRL
* Create OFX Request File
* Create OFX Response File
* Convert OFX Request File from 1.03 to 2.2 format
* Convert OFX Response File from 1.03 to 2.2 format
Performance and Scalability
-----------------------------------
Aspose.Finance for Python via .NET is designed to perform equally well on the server or client-side.
Supported Document Formats
-----------------------------------
Aspose.Finance for Python supports `a wide range of formats for loading and saving documents <https://docs.aspose.com/finance/python-net/supported-file-formats/>`_, some of them are listed below:
**XBRL**: XBRL iXBRL, XLSX
**OFX**: OFX, OFX Version 1
Create a XBRL Document: Programming Samples
--------------------------------------------------
.. code-block:: python
from aspose.finance.xbrl import *
document = XbrlDocument()
xbrlInstances = document.xbrl_instances
xbrlInstance = xbrlInstances[xbrlInstances.add()]
document.save(os.path.join(outputDir, "CreateXbrlFile.xbrl"))
Convert a XBRL Document to XLSX file: Programming Samples
----------------------------------------------------------------
.. code-block:: python
from aspose.finance.xbrl import *
document = XbrlDocument(os.path.join(sourceDir, "IdScopeContextPeriodStartAfterEnd.xml"))
# Set save options
saveOptions = SaveOptions()
saveOptions.save_format = SaveFormat.XLSX
# Save file to XLSX format
document.save(os.path.join(outputDir, "ConvertXbrlToXlsx_out.xlsx"), saveOptions)
Convert OFX Request Version 1 File To OFX Request Verver 2 File
---------------------------------------------------------------------
.. code-block:: python
from aspose.finance.ofx import *
document = OfxRequestDocument(os.path.join(sourceDir, "bankTransactionReq.sgml"))
document.save(os.path.join(outputDir, "ConvertOfxRequestFileToOfxRequestV2.xml"), OfxVersionEnum.V2X)
`Product Page <https://products.aspose.com/finance/python-net>`_ | `Docs <https://docs.aspose.com/finance/python-net/>`_ | `Demos <https://products.aspose.app/finance/family/>`_ | `Blog <https://blog.aspose.com/category/finance/>`_ | `Code Samples <https://github.com/aspose-finance/Aspose.Finance-for-Python-via-.NET>`_ | `Free Support <https://forum.aspose.com/c/finance>`_ | `Temporary License <https://purchase.aspose.com/temporary-license>`_ | `EULA <https://company.aspose.com/legal/eula>`_