Skip to main content
Version: v0.0.2

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 to noteCode when 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

readonly ackCode: Ta1AckCode


interchangeControlNumber

readonly interchangeControlNumber: string


interchangeDate

readonly interchangeDate: string


interchangeTime

readonly interchangeTime: string


noteCode

readonly noteCode: Ta1NoteCode | undefined


noteCodeRaw

readonly noteCodeRaw: string


raw

readonly raw: Ta1Segment