Convierta los archivos de solicitud y respuesta OFX en Python API
Contents
[
Hide
]
Aspose.Finance para Python a través de .NET admite la conversión de archivos de solicitud y respuesta OFX entre formatos 1.03 y 2.2. Los siguientes ejemplos C# muestran cómo convertir archivos de solicitud y respuesta OFX del formato 1.03 al formato 2.2 usando el API.
Convierta el archivo de solicitud OFX de formato 1.03 a 2.2 en .NET
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Convert OFX Request File from 1.03 to 2.2 format | |
document = OfxRequestDocument(os.path.join(sourceDir, "bankTransactionReq.sgml")) | |
document.save(os.path.join(outputDir, "bankTransactionReq.xml"), OfxVersionEnum.V2x) |
Convierta el archivo de respuesta OFX del formato 1.03 al 2.2 en .NET
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Convert OFX Response File from 1.03 to 2.2 format | |
document = OfxResponseDocument(srcePath + "bankTransactionRes.sgml") | |
document.save(outputPath + "bankTransactionRes.xml", OfxVersionEnum.V2x) |