Konvertera OFX förfrågnings- och svarsfiler till Python API
Contents
[
Hide
]
Aspose.Finance för Python via .NET stöder konvertering av OFX förfrågnings- och svarsfiler mellan formaten 1.03 och 2.2. Följande C#-exempel visar att OFX-förfrågnings- och svarsfiler konverteras från 1.03-format till 2.2-format med API.
Konvertera OFX Request File från 1.03 till 2.2 format i .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) |
Konvertera OFX svarsfil från 1.03 till 2.2 format i .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) |