Skip to content

@ediocracy/parser / type aliases

type

ReaderFindingCode ​

ReaderFindingCode = "gs-ge-control-mismatch" | "gs-ge-transaction-count-mismatch" | "isa-iea-control-mismatch" | "isa-iea-group-count-mismatch" | "missing-control-number" | "st-se-control-mismatch" | "st-se-segment-count-mismatch" | "trailing-component-separator" | "trailing-element-separator" | "trailing-repetition-separator"

Defined in: packages/parser/src/reader/types.ts:64

A problem the reader found in text it could still read.

  • st-se-segment-count-mismatch, gs-ge-transaction-count-mismatch, isa-iea-group-count-mismatch: SE01, GE01 or IEA01 does not match the number of segments, transaction sets or groups.
  • st-se-control-mismatch, gs-ge-control-mismatch, isa-iea-control-mismatch: SE02, GE02 or IEA02 does not match the control number in ST02, GS06 or ISA13.
  • missing-control-number: ST02, GS06 or ISA13 is absent or blank.
  • trailing-element-separator, trailing-repetition-separator, trailing-component-separator: a segment ends with that separator.