The ALC segment specifies a discount, surcharge, freight charge, or other allowance or charge applied to a line item or the whole order. It is typically followed by PCD (percentage) and MOA (monetary amount) segments that give the actual value. ALC+A means allowance (reduces the price), ALC+C means charge (increases the price).
ALCHover any part of the segment to see what it is. Open What your system receives to see the JSON or XML CleanEDI delivers.
ALC+A++++1::ZZZ+TD'Allowance or Charge
| 1 | Type | AAllowance |
| 5.1 | Element 5 (part 1) | 1 |
| 5.3 | Element 5 (part 3) | ZZZ |
| 6 | Element 6 | TD |
Not mapped in this demo. In production CleanEDI maps it into your contract, or keeps it in the raw archive.
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 | Type | 1.1 Code |
| 2 | Settlement | Single value |
| 3 | Calculation sequence | Single value |
| 4 | Specification | Single value |
| Code | Meaning |
|---|---|
A | Allowance |
C | Charge |
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 ALC in it? The explainer breaks down every segment and runs in your browser.
Explain my message