EDI Docs to Flatfile Schema

please how to convert EDI docs to faltfile schema ie faltfile

You can use pub.flatFile:convertToValues/pub.flatFile:convertToSchema for conversions… Pls go through EDI and flat file documentation for details