postwick
(Paul Ostwick)
March 19, 2024, 2:53pm
1
I have been tasked with automating in an X9 reader app. However, I also found a library that appears to allow directly parsing these files.
Provides classes for reading, manipulating, authoring, and writing X9.100-187 Image Cash Letter files. - ComposableAnalytics/companalytics-x9
There is example code:
string path = @"C:\Temp\sample.x9";
string imageOutDir = @"C:\Temp\SampleCheckImages";
using (Stream x9File = File.OpenRead(path))
using (X9Reader reader = new X9Reader(x9File))
{
doc = reader.ReadX9Document();
reader.WriteImagesToDisk(imageOutDir);
}
How would I translate this into an Invoke Code?
postwick
(Paul Ostwick)
April 11, 2024, 5:49pm
2
Anyone have any advice on this?
postwick
(Paul Ostwick)
July 9, 2024, 10:58pm
3
For anyone who finds this later, I discovered that the issue is because the files we are receiving are in X9.37 format, while the Companalytics library is for X9.100-187 file formats.
1 Like