The MOA segment carries a monetary amount. The qualifier identifies what the amount represents. Common qualifiers: 203=line item amount, 86=total amount payable, 79=total amount excluding tax, 124=tax amount, 125=taxable amount, 131=total line items amount, 77=invoice amount. MOA always uses decimal notation regardless of the currency.
MOAHover any part of the segment to see what it is. Open What your system receives to see the JSON or XML CleanEDI delivers.
MOA+203:1014.00'Line item amount: 1014.00.
| 1.1 | Amount: Qualifier | 203Line item amount |
| 1.2 | Amount: Value | 1014.00 |
{
"lineItemAmount": {
"value": "1014.00"
}
}Example shape. In production the field names and structure follow your own API contract.
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 | Amount | 1.1 Qualifier, 1.2 Value, 1.3 Currency |
| Code | Meaning |
|---|---|
9 | Amount due |
23 | Charge amount |
38 | Invoice item amount |
66 | Goods item total |
77 | Invoice amount |
79 | Total line items amount |
86 | Message total amount |
124 | Tax amount |
125 | Taxable amount |
128 | Total amount |
131 | Total allowances and charges |
176 | Total tax amount |
203 | Line item amount |
204 | Allowance amount |
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 MOA in it? The explainer breaks down every segment and runs in your browser.
Explain my message