Skip to main content
FME Hub user daveatsafe just uploaded a new transformer to the FME Hub.

This transformer uses the pyx12 Python module to read X12 formatted data files, like those used for EDI 835 and 837 business data exchange. X12 data is hierarchical, but for easier usage, this transformer will output relational tables that include the links required to establish parent/child relationships. Schema features for the tables will also be output for use with Dynamic writers.

To install the pyx12 library for use with FME, please follow the instructions found here

The max Python version supported by pyx12 is 3.9, but you can make it 3.12 compliant (at least for the purposes of this transformer) after installation, by changing line 308 in C:\Users\<user>\Documents\FME\Plugins\Python\python312\pyx12\x12file.py from:

self.fd_in = open(src_file_obj, 'U', encoding='ascii')

to:

self.fd_in = open(src_file_obj)

Alternatively, you can install Python 3.9, then set FME to use that version using the instructions found here



Would you like to know more? Click here to find out more details!