Variable: TA1_NOTE_CODES
constTA1_NOTE_CODES:object
TA1-05 interchange note code (ASC X12 code list I18). Codes 000–028
are defined by the standard; values past 028 exist in some standard
revisions and are accepted on parse (Postel's Law) but not enumerated
here - the parsed model carries the raw string for verbatim preservation.
000 is the canonical "no error" note paired with a TA1-04 == 'A'
acceptance. The build-time safety guard refuses a fabricated A paired
with any non-000 note (see "./errors.js".AckBuildError).
Standard-issued values:
000- No error.001- Interchange Control Number in the Header and Trailer do not match.002- Standard as noted in the Control Standards Identifier is not supported.003- Version of the controls is not supported.004- Segment Terminator is invalid.005- Invalid Interchange ID Qualifier for Sender.006- Invalid Interchange Sender ID.007- Invalid Interchange ID Qualifier for Receiver.008- Invalid Interchange Receiver ID.009- Unknown Interchange Receiver ID.010- Invalid Authorization Information Qualifier value.011- Invalid Authorization Information value.012- Invalid Security Information Qualifier value.013- Invalid Security Information value.014- Invalid Interchange Date value.015- Invalid Interchange Time value.016- Invalid Interchange Standards Identifier value.017- Invalid Interchange Version ID value.018- Invalid Interchange Control Number value.019- Invalid Acknowledgment Requested value.020- Invalid Test Indicator value.021- Invalid Number of Included Groups value.022- Invalid Control Structure.023- Improper (premature) end-of-file (transmission).024- Invalid Interchange Content (e.g., invalid GS segment).025- Duplicate Interchange Control Number.026- Invalid Data Element Separator.027- Invalid Component Element Separator.028- Invalid Delivery Date in Deferred Delivery Request.
Type Declaration
000
readonly000:"000"="000"
001
readonly001:"001"="001"
002
readonly002:"002"="002"
003
readonly003:"003"="003"
004
readonly004:"004"="004"
005
readonly005:"005"="005"
006
readonly006:"006"="006"
007
readonly007:"007"="007"
008
readonly008:"008"="008"
009
readonly009:"009"="009"
010
readonly010:"010"="010"
011
readonly011:"011"="011"
012
readonly012:"012"="012"
013
readonly013:"013"="013"
014
readonly014:"014"="014"
015
readonly015:"015"="015"
016
readonly016:"016"="016"
017
readonly017:"017"="017"
018
readonly018:"018"="018"
019
readonly019:"019"="019"
020
readonly020:"020"="020"
021
readonly021:"021"="021"
022
readonly022:"022"="022"
023
readonly023:"023"="023"
024
readonly024:"024"="024"
025
readonly025:"025"="025"
026
readonly026:"026"="026"
027
readonly027:"027"="027"
028
readonly028:"028"="028"
Example
import { TA1_NOTE_CODES, type Ta1NoteCode } from "@cosyte/x12";
const noError: Ta1NoteCode = TA1_NOTE_CODES["000"];