Anyone home? What about existing production X.12 specs?

Post author
EarlWer

Is anyone using OpenEDI in their apps, instead of SEF to exchange production specs?

Eg. Having the complete 810 spec is nice but is of limited use when implementing it in a production environment.

 

I have a large library of X.12 specs for specific Trading Partners that need a home.

I want to convert them into something more compatible that what I use internally.

JSON seems to be better than SEF, but I suspect that more people use SEF because it has been around longer.

 

There are 2 issues related to this:

1) Does the distribution of specific Trading Partner specs violate any copyright?

2) The JSON format needs to accomodate the link between a specific X.12 Segment, Element to an ERP source. Yes, I know that this would change for each ERP, but it would be nice to start with common sources (Quickbooks, ODOO, whatever).

Idea: An AI tool that could read PDF specs and convert it into a valid OpenEDI or SEF file would be interesting ;-)

Comments

3 comments

  • Comment author
    Admin

    Hi,

    Thanks for the post. OpenEDI is the spec format that ediFabric uses: ediFabric Native, ediFabric Cloud, EdiNation and the EDI Spec Builder all read it. It’s an open format, based on the schema object in OpenAPI 3 and published under the MIT license: OpenEDI Specification. So the point of OpenEDI isn’t to replace SEF for exchanging specs. It’s what ediFabric uses to parse, validate and generate EDI against your trading partners’ requirements.

    Your existing SEF library. You can convert your SEF files to OpenEDI for free in the EDI Spec Builder:

    1. Sign up for a free Community account.
    2. Select Import and choose a .sef file. It’s converted to OpenEDI and saved as a custom spec, visible only to your account.
    3. Edit it if needed, then download it as OpenEDI, as a C# template for ediFabric .NET, or as an ediFabric Native model.

    How each SEF section maps to OpenEDI is described in Migrate SEF to OpenEDI. That way your partner-specific specs work with ediFabric straight away, for both validation and translation.

    Reading PDF specs with AI. This already works. Current AI models can read a partner’s PDF implementation guide and produce a valid OpenEDI spec from it. We’ve done this for customers’ trading partner guides, then imported the result into the Spec Builder to review it and test it against sample files.

    Mapping to an ERP. OpenEDI describes the EDI structure only, not the ERP side. ediFabric turns each transaction into JSON (or C# objects in .NET) whose property names come from the spec. Your code then maps those to QuickBooks, Odoo or any other system.

    Copyright. We can’t give legal advice. A partner’s implementation guide is that partner’s document, so check with them before you distribute either one.

    0
  • Comment author
    EarlWer

    Thanks for the reply.

    My Trading Partner mappings are NOT in SEF format. They are in a database that I use to maintain the mappings.

    My question is what format should I use to export them to make them more useful as I retire ;-)

    SEF, OpenEDI or other...

     

    Mapping to an ERP. Yes, I know that OpenEDI does not map to any ERP.  

    THAT is the problem I am trying to solve.  Plus, nobody needs the _entire_  810/856 Spec.

    Eg. There are many of QuickBooks installations out there. The QB export format is known and available. An OpenEDI Spec file for a specific destination (Walmart) and origin (Quickbooks) would be very useful.

    For QB Excel, if the Column titles were specified in the OpenEDI 810 Spec, then it would be easy to use that JSON file to generate the 810 X.12 file and send it. Why redo what has already been done hundreds of times at great expense?

    Plan B: I could put the Partner / ERP specific mappings into a 3rd party tool.

    I see that there are a few JSON mapping tools around. Can you recommend one?

     

    The copyright issue is with X.12, not the Trading Partners. The X.12 Commercial Use Licence is thousands ;-(

    0
  • Comment author
    Admin

    Hi,

    Congratulations on the coming retirement. Turning years of partner knowledge into something that outlives your database is a good use of the time.

    A format that stays useful

    OpenEDI is an open format, published under the MIT licence and based on OpenAPI 3, so any JSON tool can read it and nobody owns your specs. Unlike SEF, it's also directly usable: ediFabric parses, validates and generates EDI against an OpenEDI spec, so a partner's rules keep working instead of sitting in a reference file.

    In the EDI Spec Builder you can trim any transaction down to what one partner actually uses: only their segments, their codes and their usage rules. You can then download it as OpenEDI, as a C# template for ediFabric .NET, or as an ediFabric Native model. More on the format: OpenEDI format.

    Mapping from an ERP

    ediFabric turns every transaction into plain JSON whose property names come from the spec, and turns that JSON back into valid EDI. So getting from a QuickBooks export to a Walmart 810 becomes a JSON-to-JSON mapping, which is exactly what modern tooling, and increasingly AI, handles well.

    With the ediFabric MCP server, an AI assistant can describe the 810 spec, build the 810 from your data, validate it, and produce the 997, all from a plain-English request.

    Runs where you run

    All of them come with ready-made specs for the X12 transactions. That includes validation, acknowledgments and splitting large files.

    A free Community account is enough to try all of this: import or build a partner spec in the Spec Builder and run your own sample files through it.

    0

Please sign in to leave a comment.