The UNS segment separates the detail section from the summary section of a message. UNS+S marks the start of the summary. Everything after UNS+S is summary-level data: total MOA segments, summary TAX segments, and the CNT line count. Line item groups must appear before UNS+S.
UNSHover any part of the segment to see what it is. Open What your system receives to see the JSON or XML CleanEDI delivers.
UNS+S'Summary section starts.
| 1 | Section | SSummary section starts |
Marks where line items end. CleanEDI uses it to read the structure; your system just gets the lines array.
Elements are separated by + and their parts by :. Positions match the explainer, so 2.3 is the third part of the second element.
| Position | Element | Parts |
|---|---|---|
| 1 | Section | 1.1 Code |
| Code | Meaning |
|---|---|
D | Detail section starts |
S | Summary section starts |
Common EANCOM and UN/EDIFACT values. Your trading partner's implementation guide is the final word on which codes they send.
Have a real message with UNS in it? The explainer breaks down every segment and runs in your browser.
Explain my message