How do you validate an ANSI X12 freight EDI 204, 214, 210, or 990 file?
A valid motor carrier X12 transmission must pair its outer ISA13 and IEA02 interchange control numbers, match GS06 and GE02 functional group controls with the exact transaction count in GE01, match ST02 and SE02 transaction controls with the exact inclusive segment count in SE01, and satisfy transaction-specific rules such as B2/S5 stops on a 204, B10/AT7 events on a 214, B3 and L1 charge totals on a 210, and a valid A/D/E action code in B104 on a 990.
Built by Strong Tower Consulting, LLC (Forest City, Iowa, founded 2008 by Scott Elliott), this zero-dependency browser tool runs the same parser logic used in our open-source freight utilities so dispatch, billing, and integration engineers can diagnose rejected files without exposing trading-partner data to external servers.
Structural & Semantic Validation Checks
Decoded Freight Transaction Summary
Decoded Human-Readable Segment Table
| # | Seg | Segment Meaning | Decoded Elements | Raw X12 |
|---|
Inspect parsed JSON output
What this X12 freight EDI validator checks
Trading-partner rejections in truckload and brokerage EDI almost always trace back to envelope drift, off-by-one segment counters, or silent arithmetic mismatches on 210 freight bills. This validator parses the raw payload in a single pass and runs both envelope integrity checks and freight-specific semantic audits.
- Automatic delimiter detection from ISA. Reads element separator (ISA index 3), sub-element separator (ISA16), and segment terminator (index 105 on strict 106-character ISA headers, with fallback parsing for non-padded or newline-delimited files).
- Interchange, group, and transaction control-number matching. Verifies
ISA13 == IEA02,GS06 == GE02, andST02 == SE02, flags duplicateST02control numbers inside a functional group, and validatesGS01functional IDs (SMfor 204,QMfor 214,IMfor 210,GFfor 990). - Exact counter reconciliation. Recounts every segment inclusive of
STandSEagainstSE01, every transaction set againstGE01, and every functional group againstIEA01. - Freight transaction semantics and 210 invoice balance. Confirms mandatory beginning segments (
B2,B10,B3,B1), validates 990B104action codes (A,D,E), converts X12 implied-decimal N2 dollar amounts, and reconciles the sum of all 210L104line-item charges againstB307net amount due.
Supported motor carrier EDI transaction sets
EDI 204: Motor Carrier Load Tender
Decodes shipment identifiers, SCAC, payment method (PP, CC, TP), set purpose (00 Original, 01 Cancellation, 04 Change), header references (L11), stop-off sequences (S5), shipper/consignee facilities (N1/N3/N4/G61), appointment windows (G62), purchase orders (OID), and total weight and freight charge (L3).
EDI 214: Transportation Carrier Shipment Status
Extracts PRO reference, shipment ID, SCAC, and every LX status loop including AT7 status codes (X3 Arrived at Pick-up, AF Departed Pick-up, X1 Arrived at Delivery, D1 Completed Unloading), reason codes (NS, A5, AG), MS1 city/state, MS2 trailer number, and AT8 weight and pieces.
EDI 210: Motor Carrier Freight Details and Invoice
Decodes invoice number, shipment ID, invoice date, delivery date, net amount due (B307), currency (C3), bill-to party (N1*BT), every LX/L5/L0/L1 billing line (linehaul 400, fuel surcharge FUE/FSC, detention DET, lumper LMP), and flags any penny variance between the summed L104 charges and B307.
EDI 990: Response to a Load Tender
Decodes carrier SCAC, shipment ID, response date, reservation action code (A Accepted, D Declined, E Conditional), carrier PRO reference (N9), and free-form dispatch remarks (K1). For deeper production EDI automation and VAN/AS2 architecture, see our ELD and EDI integration practice.
Frequently asked questions
Does this EDI 204, 214, 210, and 990 validator upload my payload to a server?
No. The parser and structural validator run 100 percent locally in your browser using client-side JavaScript. Zero EDI data is transmitted, logged, or stored on any remote server.
What structural errors does the X12 freight EDI validator catch?
It checks 106-character ISA fixed-width compliance, ISA13 to IEA02 interchange control matching, IEA01 functional group counts, GS06 to GE02 group control matching, GE01 transaction counts, expected GS01 functional IDs (SM, QM, IM, GF), ST02 to SE02 control matching, duplicate ST02 numbers, SE01 inclusive segment counts, missing mandatory beginning segments (B2, B10, B3, B1), invalid 990 B104 action codes, and 210 L1 charge sum reconciliation against B307 net amount due.
Which ANSI X12 freight transaction sets are decoded into business summaries?
The validator decodes 204 Motor Carrier Load Tender (stops, shipper and consignee facilities, dates, orders, and L3 totals), 214 Transportation Carrier Shipment Status (AT7 status and reason codes, MS1 cities, MS2 equipment, and AT8 weights), 210 Motor Carrier Freight Invoice (B3 header, L1 line-item charges, and automatic L1-to-B307 reconciliation), and 990 Response to a Load Tender (B1 accept, decline, or conditional actions and K1 remarks).
Can I export parsed EDI segments to JSON for TMS or integration testing?
Yes. Every parsed interchange can be copied to the clipboard or downloaded as a structured JSON file containing the detected delimiters, interchange envelope, functional groups, decoded transaction objects, raw segment elements, and validation report.
This validator verifies public ANSI X12 structural envelopes and common motor carrier segment conventions. Individual shippers and 3PLs enforce custom qualifier rules, partner-specific N1 loops, and accessorial charge codes in their implementation guides. Validate partner-specific maps in a staging environment before production cutover.
Eliminate manual EDI rework between dispatch, billing, and trading partners.
Strong Tower Consulting provides independent systems architecture, EDI mapping audits, and TMS integration engineering for motor carriers and freight brokers. Contact our advisory team or call 763-244-1373 to review your 204/990/214/210 pipelines.
Strong Tower Consulting, LLC owns EXSPEEDITE, CheckPoint, and Pipeline. They are part of the same company.