05Audit declared counts

Segment count checker

Count physical segments and compare each transaction trailer with its actual inclusive count. Results identify the transaction control reference and exact segment range.

Browser-localNo accountFree to use
Local-only workspaceProcessed in this tab. Your EDI is never uploaded.
0 charactersSource stays unchanged
/Ctrl + Enter

Ready for local processing

Results, checks, and export controls will appear in this panel.

01 / Method

How to use this tool

  1. 01

    Paste a complete interchange or transaction set.

  2. 02

    Select Check counts.

  3. 03

    Compare each declared count with the calculated inclusive total.

02 / Useful for

Common use cases

  • Debugging SE01 or UNT01 rejections
  • Checking file truncation
  • Verifying a generated transaction before exchange

03 / Boundaries

Assumptions & limitations

Assumptions

  • The detected segment terminator is correct.
  • Inclusive counts start at ST or UNH and end at its paired SE or UNT.

Limitations

  • A fragment without paired headers and trailers can only return its total physical segments.
  • Nested or badly reordered transaction markers are reported but not repaired.

04 / FAQ

Questions about segment counts

Does the total include envelope segments?

Yes. The document total includes every parsed segment; transaction results separately count ST–SE or UNH–UNT ranges.

Are blank lines counted?

No. Whitespace-only pieces introduced by formatting are ignored.

05 / Continue