Interface: X12AckTA1
The decoded TA1 Interchange Acknowledgment.
interchangeControlNumber- TA1-01: echoes the inbound ISA-13.interchangeDate- TA1-02: YYMMDD (echoes inbound ISA-09).interchangeTime- TA1-03: HHMM (echoes inbound ISA-10).ackCode- TA1-04: Ta1AckCode.noteCode- TA1-05: typed when the value is a known I18 code (Ta1NoteCode); the raw string is preserved verbatim alongside so unknown extensions round-trip.noteCodeRaw- verbatim TA1-05 string. Equal tonoteCodewhen the value is a known I18 code; equal to the raw inbound text when not.raw- the underlying envelope-level Ta1Segment, for byte-exact round-trip.
Example
import type { X12AckTA1 } from "@cosyte/x12";
declare const ta1: X12AckTA1;
ta1.ackCode; // "A" | "E" | "R"
ta1.noteCode; // "000" | "001" | ...
Properties
ackCode
readonlyackCode:Ta1AckCode
interchangeControlNumber
readonlyinterchangeControlNumber:string
interchangeDate
readonlyinterchangeDate:string
interchangeTime
readonlyinterchangeTime:string
noteCode
readonlynoteCode:Ta1NoteCode|undefined
noteCodeRaw
readonlynoteCodeRaw:string
raw
readonlyraw:Ta1Segment