EDI X12 Parser for Openclaw

A technical tool for parsing and extracting structured data from EDI X12 transaction sets like 810, 850, and 856 files.

npfaerber
v1.0.1
Feb 28, 2026
0
873
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install edi-parser

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install edi-parser using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is EDI X12 Parser?

The EDI X12 Parser is an essential utility designed to decode complex electronic data interchange files into human-readable and machine-processable formats. By leveraging Openclaw Skills, developers can seamlessly handle ISA/GS envelopes and extract critical business information from transaction sets commonly used in retail and supply chain logistics, such as Walmart supplier compliance documents.

This skill simplifies the daunting task of manual EDI interpretation by automating the identification of segment terminators, element separators, and sub-element delimiters. It ensures that technical teams can focus on data utilization rather than low-level string manipulation of legacy X12 formats.

EDI X12 Parser Use Cases

  • Processing Walmart or major retail supplier compliance documentation to maintain vendor standards.
  • Extracting purchase order details from 850 X12 files for automated inventory management.
  • Generating structured invoices and total amounts from 810 transaction sets.
  • Managing logistics and shipping notifications using 856 ASN data to track pallets and items.
  • Converting raw, delimited EDI files into clean CSV formats for bulk data analysis and reporting.

How EDI X12 Parser Works

  1. Identify the EDI file structure by detecting the ISA envelope and determining segment terminators (typically ~) and element separators (typically *).
  2. Analyze the functional group header (GS) to determine the transaction set type and sender/receiver identities.
  3. Parse specific transaction sets such as 810 (Invoice), 850 (PO), or 856 (ASN) based on the ST segment start.
  4. Extract granular data from key segments including BEG, DTM, N1, and PO1 for purchase orders, or BIG and TDS for invoices.
  5. Map specific qualifiers like Walmart's vendor number (REFIA) or GLN ship-to locations (N1ST) according to industry-standard requirements.
  6. Output the extracted data into a structured Markdown table for quick viewing or a CSV for downstream system integration.

EDI X12 Parser Setup

To integrate this skill into your workflow, ensure your environment supports the Openclaw Skills framework and reference the parser in your agent configuration.

# Install the EDI parser dependency
npm install @openclaw/edi-parser-skill

# Configure the skill in your local environment
openclaw-cli add edi-parser

EDI X12 Parser Data Schema & Taxonomy

The skill organizes EDI data based on the standard X12 hierarchy and outputs structured summaries or line-item datasets.

Level Segment Description
Envelope ISA Interchange Control Header (Sender/Receiver IDs)
Group GS Functional Group Header (Date/Time/Group Control)
Transaction ST Transaction Set Header (Type identification)
Header BEG/BIG Base document info (Date, PO#, Invoice#)
Detail PO1/IT1 Line item details (UPC, Quantity, Price)
Summary TDS/SE Totals, segment counts, and control totals

EDI X12 Parser Advanced Features

  • Automated detection of sub-element separators in ISA-16 for flexible file parsing.
  • Multi-level HL (Hierarchical Level) parsing for complex 856 ASN structures including Shipment, Order, Pack, and Item tiers.
  • Walmart-specific compliance validation for SSCC-18 barcodes and GLN qualifiers using Openclaw Skills.
  • Bulk processing capabilities with CSV row generation for processing large batches of transaction sets.
  • Support for specific vendor-required qualifiers like Load Numbers (REF*LO) and Appointment info.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*