Skip to main content
Version: v0.0.2

Interface: IeaSegment

The decoded IEA interchange trailer. raw is the exact segment string (without the segment terminator) and elements is the IEA values, 1-indexed (elements[0] = "IEA", elements[1] = IEA-01 group count, elements[2] = IEA-02 interchange control number - must match ISA-13).

Example

import type { IeaSegment } from "@cosyte/x12";
declare const iea: IeaSegment;
iea.elements[2]; // IEA-02 - must equal ISA-13

Properties

elements

readonly elements: readonly string[]


raw

readonly raw: string