Skip to content
Lunar.Integrations Sign in
X12 and EDIFACT · retail, warehousing, transportation, healthcare

Learn EDI, then read, agree and build it with the same tools

A free course that goes from the first segment to a rejected file, a Workbench that explains any X12 or EDIFACT file in plain language, a Spec Exchange for agreeing with trading partners, and an API that builds X12 from JSON.

What the tools do

A file you can't read becomes a list of facts and problems

Every segment is named, every code is spelled out, and anything a trading partner's spec requires but the file leaves out is flagged. The Workbench, Spec Exchange and the course run in your browser, so files you open there aren't uploaded.

43transaction sets, each explained 004010–005010X12 releases HIPAA837, 835, 270/271, 276/277, 278, 834 997 / 999acknowledgments built for you
850 · Purchase order · 004010Envelope OK
BEG*00*SA*PO-48213**20261026~New order PO-48213, dated 26 Oct 2026
N1*ST*Acme DC*92*DC14~Ship to Acme DC, buyer's location DC14
PO1*1*24*CA*18.50*PE*UP*012345678905~Line 1: 24 cases at $18.50 each, UPC 012345678905
DTM missingPartner spec: this retailer requires a requested delivery date (DTM*002)
Learn and use

A course and three tools, one set of EDI rules

Start with the course, then use the tools on your own files. They read the same partner specs, and you can pass a file from one to another.

Learn EDI

Learn

A free, self-paced course from the first segment to diagnosing a rejected file, with a page for your industry.

  • Twenty-one modules with dozens of worked examples
  • How EDI connects to ERP, WMS, TMS, APIs and invoicing tools
  • Orders, ship notices, invoices, warehousing, freight and HIPAA claims
  • X12 compared with EDIFACT and with APIs
  • A segment explorer with 38 sample documents, three with mistakes to find

For new analysts, and for anyone in retail, warehousing, transportation, manufacturing or healthcare who receives EDI errors.

EDI Workbench

Read & fix

Open any X12 or EDIFACT file and read it as a document, with every code explained.

  • Envelope checks and a list of issues to fix
  • Edit segments with undo, then save the corrected file
  • Convert EDI to JSON and back
  • Make a 997 or 999; export to Excel, CSV or a report

For analysts working a rejection, and AP/AR staff checking an invoice or ship notice.

EDI Spec Exchange

Agree

Write down exactly what you send and receive, and compare it with your trading partner's guide.

  • Must, optional or not used for every segment and element
  • Allowed codes, maximum use and notes, per X12 release
  • Import a partner's guide and list the gaps both ways
  • Check a real file against what the partner requires

For setting up a new retailer, carrier, 3PL or payer.

JSON-to-EDI API

Build

Send JSON from your own system and get back a finished X12 file.

  • Orders, invoices, ship notices, freight, warehouse and HIPAA documents
  • Envelopes, segment counts and control numbers done for you
  • 997 or 999 built straight from a file you received
  • Every problem reported at once, with the JSON field that caused it

For developers connecting an ERP, WMS or app to trading partners.

How they fit together

From a new trading partner to production files

The same four steps work for a retailer, a carrier, a 3PL or a payer.

  1. Step 1

    Learn the documents

    Understand what the partner will send you, what you send back and how acknowledgments work.

    Learn EDI
  2. Step 2

    Agree the spec

    Record your spec, import the partner's guide and work through the gap list.

    Spec Exchange
  3. Step 3

    Test the files

    Check sample files against the partner's spec and fix them segment by segment.

    Workbench
  4. Step 4

    Go live

    Generate production files from your system's JSON, with control numbers and acknowledgments.

    API docs
Feedback