Skip to main content
Version: v0.0.2

Variable: IK3_SYNTAX_ERROR_CODES

const IK3_SYNTAX_ERROR_CODES: object

IK3-04 implementation segment syntax error codes (ASC X12 code list 716). Cited per IK3 segment to identify the structural issue against the inbound segment. The library NEVER auto-classifies - the application supplies the code; the library mechanically builds the IK3 around it.

  • 1 - Unrecognized segment ID.
  • 2 - Unexpected segment.
  • 3 - Required segment missing.
  • 4 - Loop occurs over maximum times.
  • 5 - Segment exceeds maximum use.
  • 6 - Segment not in defined transaction set.
  • 7 - Segment not in proper sequence.
  • 8 - Segment has data element errors.
  • I4 - Implementation "Not Used" segment present.
  • I6 - Implementation dependent segment missing.
  • I7 - Implementation loop occurs under minimum times.
  • I8 - Implementation segment below minimum use.
  • I9 - Implementation dependent "Not Used" segment present.

Type Declaration

1

readonly 1: "1" = "1"

2

readonly 2: "2" = "2"

3

readonly 3: "3" = "3"

4

readonly 4: "4" = "4"

5

readonly 5: "5" = "5"

6

readonly 6: "6" = "6"

7

readonly 7: "7" = "7"

8

readonly 8: "8" = "8"

I4

readonly I4: "I4" = "I4"

I6

readonly I6: "I6" = "I6"

I7

readonly I7: "I7" = "I7"

I8

readonly I8: "I8" = "I8"

I9

readonly I9: "I9" = "I9"

Example

import type { Ik304Code } from "@cosyte/x12";
const required: Ik304Code = "3";