Forwarded email — 850 purchase order
A purchase order pasted straight out of a forwarded email: an email header sits before the ISA, four ISA elements were trimmed below their fixed width, and IEA01 claims two functional groups when there is one.
Pipe-delimited — 856 advance ship notice
An ASN that uses '|' as the element separator and a newline as the segment terminator, with several ISA elements shorter than their fixed width. x12-tidy reads the non-standard delimiters and pads the elements; the result is conformant.
Lowercased tag — 997 functional acknowledgement
A functional acknowledgement whose ISA segment tag arrived in lowercase ('isa'). x12-tidy uppercases it; nothing else is wrong and the result is conformant.
Truncated transmission — 837 claim, cut off
A claim file that ends mid-transaction: the ST has no SE, the GS no GE, and there is no IEA. x12-tidy names every missing trailer (all fatal) but will not fabricate them — it stops 'stable' and leaves the payload untouched.
Wrapped ISA header — 940 warehouse shipping order
A mail client hard-wrapped the ISA segment mid-element, putting a CR/LF inside ISA08. x12-tidy replaces the break with a space, re-measures the element, and the interchange comes out conformant (one warning, one error, both resolved).