Convert to Finance formats with advanced options
Leave feedback
On this page
GroupDocs.Conversion provides the FinanceConvertOptions class to specify financial data format conversion settings. This class implements IPagedConvertOptions for page selection support.
Supported Finance Formats
The following financial data formats are recognized:
Format
Extension
Description
Use Case
XBRL
.xbrl
eXtensible Business Reporting Language
Financial reporting, regulatory compliance
iXBRL
.ixbrl
Inline XBRL (HTML + XBRL)
Human-readable and machine-readable financial reports
OFX
.ofx
Open Financial Exchange
Banking data, financial transactions
Properties
Format - Specifies the desired financial file format. Available options are: Xbrl, IXbrl, Ofx.
PageNumber - Specifies the starting page number for conversion.
PagesCount - Specifies the number of pages to convert.
API Structure
The following example shows the API structure for FinanceConvertOptions:
usingGroupDocs.Conversion.Options.Convert;usingGroupDocs.Conversion.FileTypes;// Create options objectFinanceConvertOptionsoptions=newFinanceConvertOptions{Format=FinanceFileType.Xbrl,PageNumber=1,// Starting page (for multi-page sources)PagesCount=10// Number of pages to process};
Converting Between Finance Formats
You can convert between XBRL and iXBRL formats. This allows you to transform between human-readable inline XBRL and standard XBRL format.
Convert XBRL to iXBRL
usingGroupDocs.Conversion;usingGroupDocs.Conversion.Options.Convert;usingGroupDocs.Conversion.FileTypes;// Load the source XBRL fileusing(Converterconverter=newConverter("financial-report.xbrl")){// Configure iXBRL convert optionsFinanceConvertOptionsoptions=newFinanceConvertOptions{Format=FinanceFileType.IXbrl};// Convert and saveconverter.Convert("financial-report.ixbrl",options);}
Convert iXBRL to XBRL
usingGroupDocs.Conversion;usingGroupDocs.Conversion.Options.Convert;usingGroupDocs.Conversion.FileTypes;// Load the source iXBRL fileusing(Converterconverter=newConverter("inline-report.ixbrl")){// Configure XBRL convert optionsFinanceConvertOptionsoptions=newFinanceConvertOptions{Format=FinanceFileType.Xbrl};// Convert and saveconverter.Convert("inline-report.xbrl",options);}
Format Selection
You can specify different financial formats using the Format property:
XBRL Format
XBRL (eXtensible Business Reporting Language) is the international standard for digital business reporting: